LibreTranslate/tests/test_init.py

9 lines
216 B
Python
Raw Permalink Normal View History

2021-02-09 14:21:53 +00:00
import pytest
from app.init import boot
from argostranslate import package
def test_boot_argos():
"""Test Argos translate models initialization"""
boot()
2021-02-09 17:00:11 +00:00
assert len(package.get_installed_packages()) > 2