LibreTranslate/libretranslate/tests/test_init.py

11 lines
229 B
Python
Raw Normal View History

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