aboutsummaryrefslogtreecommitdiff
path: root/app/tests/test_backends_envs.py
diff options
context:
space:
mode:
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)))