mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-05-04 20:30:39 +00:00
app->libretranslate; mv tests/ inside libretranslate/
This commit is contained in:
parent
40a1141eac
commit
a23a9fbd75
47 changed files with 24 additions and 25 deletions
9
libretranslate/tests/test_init.py
Normal file
9
libretranslate/tests/test_init.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue