1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-05 23:40:13 +01:00
LibreTranslate/libretranslate/tests/test_init.py

10 lines
228 B
Python

from libretranslate.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