Skip to content

Commit

Permalink
fix(tests): correct tests with new behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle authored and laurent-laporte-pro committed Dec 19, 2023
1 parent ec59260 commit 8da6022
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/launcher/test_slurm_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def test_import_study_output(launcher_config, tmp_path) -> None:

slurm_launcher.callbacks.import_output.assert_called_once_with(
"1",
launcher_config.launcher.slurm.local_workspace / "OUTPUT" / "1" / "output",
launcher_config.launcher.slurm.local_workspace / "OUTPUT" / "1",
{},
)
assert res == "output"
Expand Down Expand Up @@ -431,7 +431,7 @@ def test_import_study_output(launcher_config, tmp_path) -> None:
slurm_launcher._import_study_output("1", None, str(log_dir))
slurm_launcher.callbacks.import_output.assert_called_once_with(
"1",
launcher_config.launcher.slurm.local_workspace / "OUTPUT" / "1" / "output",
launcher_config.launcher.slurm.local_workspace / "OUTPUT" / "1",
{
"antares-out.log": [log_info],
"antares-err.log": [log_error],
Expand Down

0 comments on commit 8da6022

Please sign in to comment.