Skip to content

Commit a038425

Browse files
committed
Update tests
1 parent 2c98ffd commit a038425

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_slurm_installer.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,7 @@ def test_venv_created(self, installer: SlurmInstaller, git: GitRepo):
188188
mock_run.return_value = CompletedProcess(args=[], returncode=0)
189189
res = installer._create_venv(py)
190190
assert res.success
191-
mock_run.assert_called_once_with(
192-
["python", "-m", "venv", "--copies", str(venv_path)], capture_output=True, text=True
193-
)
191+
mock_run.assert_called_once_with(["python", "-m", "venv", str(venv_path)], capture_output=True, text=True)
194192

195193
@pytest.mark.parametrize("failure_on_venv_creation,reqs_install_failure", [(True, False), (False, True)])
196194
def test_error_creating_venv(

0 commit comments

Comments
 (0)