🔧 Copied self hosted docker apps
This commit is contained in:
parent
36943e27da
commit
abc55d8ed5
209 changed files with 58596 additions and 0 deletions
10
self_host/LibreTranslate/libretranslate/tests/test_init.py
Normal file
10
self_host/LibreTranslate/libretranslate/tests/test_init.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from argostranslate import package
|
||||
|
||||
from libretranslate.init import boot
|
||||
|
||||
|
||||
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