LibreTranslate/tests/test_init.py

10 lines
204 B
Python
Raw Normal View History

2021-02-09 14:21:53 +00:00
from app.init import boot
from argostranslate import package
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()
2021-05-18 03:41:02 +00:00
assert len(package.get_installed_packages()) > 2