1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-24 10:06:43 +02:00
LibreTranslate/libretranslate/tests/test_init.py

11 lines
229 B
Python
Raw Normal View History

2021-02-09 16:21:53 +02:00
from argostranslate import package
2023-07-09 12:29:11 +02:00
from libretranslate.init import boot
2021-05-18 05:41:02 +02:00
2021-02-09 16:21:53 +02:00
def test_boot_argos():
"""Test Argos translate models initialization"""
boot(["en", "es"])
2021-02-09 16:21:53 +02:00
assert len(package.get_installed_packages()) >= 2