aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_backends_envs.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-09-02 01:26:09 -0400
committerhistoria <historiavg@proton.me>2026-09-02 01:26:09 -0400
commit8579517a35ef1865fc9b428899d73d52dcb27a14 (patch)
treedba52f8d99cfe4014e0b787367de99f238e5a0db /app/tests/test_backends_envs.py
parent391f50da7a085bec75155c0eb9b47910266058cc (diff)
downloadtts-audiobook-generator-8579517a35ef1865fc9b428899d73d52dcb27a14.tar.gz
feat: sglang backend support
Diffstat (limited to 'app/tests/test_backends_envs.py')
-rw-r--r--app/tests/test_backends_envs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tests/test_backends_envs.py b/app/tests/test_backends_envs.py
index d3b35c1..e38f009 100644
--- a/app/tests/test_backends_envs.py
+++ b/app/tests/test_backends_envs.py
@@ -134,7 +134,7 @@ class PipInstallTests(unittest.TestCase):
side_effect=fake_run):
rc = envs.pip_install(["qwen-tts"])
self.assertEqual(rc, 0)
- mk.assert_called_once_with(None)
+ mk.assert_called_once_with(None, None)
# The actual pip call targets the venv's python.
self.assertEqual(calls[0][0], str(envs.env_python()))
self.assertIn("pip", calls[0])
@@ -155,7 +155,7 @@ class PipInstallTests(unittest.TestCase):
self.assertEqual(rc, 0)
# Both create-if-missing and pip itself are scoped to the qwen env;
# the app env is never touched.
- mk.assert_called_once_with(envs.QWEN_ENV_DIR)
+ mk.assert_called_once_with(envs.QWEN_ENV_DIR, None)
self.assertEqual(calls[0][0],
str(envs.env_python(envs.QWEN_ENV_DIR)))