1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-10 18:00:13 +01:00
LibreTranslate/tests/test_init.py
2022-04-05 16:39:31 +02:00

10 lines
217 B
Python

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