From 8579517a35ef1865fc9b428899d73d52dcb27a14 Mon Sep 17 00:00:00 2001 From: historia Date: Wed, 2 Sep 2026 01:26:09 -0400 Subject: feat: sglang backend support --- app/tests/test_backends_envs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/tests/test_backends_envs.py') 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))) -- cgit v1.2.3