1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-07-16 06:00:13 +02:00
LibreTranslate/tests/test_init.py

10 lines
217 B
Python
Raw Normal View History

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