1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-15 04:00:11 +01:00
LibreTranslate/libretranslate/tests/test_init.py
2023-07-09 12:29:11 +02:00

11 lines
229 B
Python

from argostranslate import package
from libretranslate.init import boot
def test_boot_argos():
"""Test Argos translate models initialization"""
boot(["en", "es"])
assert len(package.get_installed_packages()) >= 2