Skip to content

Commit

Permalink
Patched load config in job_to_slurm tests v2
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreAdam committed Jul 8, 2024
1 parent eed3230 commit 3674b31
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit/test_job_to_slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@
def mock_load_config(tmp_path):
mock_config = {"local": {"path": tmp_path}}
os.makedirs(tmp_path / "jobs", exist_ok=True)
with patch(
"milex_scheduler.load_config", return_value=mock_config
) as mock_load_config:
with patch("load_config", return_value=mock_config) as mock_load_config:
yield mock_load_config


Expand Down

0 comments on commit 3674b31

Please sign in to comment.