Skip to content
Snippets Groups Projects
Commit f9c00f3e authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Fix user venv test

parent 0afe5941
No related branches found
No related tags found
1 merge request!544Reproducibility, step 1
......@@ -1037,6 +1037,7 @@ def run():
user_venv = nb_info.get("user", {}).get("venv")
if user_venv:
user_venv = Path(user_venv.format(**args))
print("Using specified venv:", user_venv)
python_exe = str(user_venv / 'bin' / 'python')
else:
python_exe = python_path
......
......@@ -122,7 +122,7 @@ class TestUserVenv:
)
def test_call(self, calibrate_call: CalibrateCall):
assert "Running job in user venv at" in calibrate_call.out
assert "specified venv" in calibrate_call.out
def test_expected_processes_called(
self,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment