Skip to content

Commit

Permalink
Fix style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eivindjahren committed Jan 13, 2025
1 parent 7bd0c67 commit e26b1ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ert/unit_tests/test_run_path_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ def test_jobs_json_is_backed_up(make_run_path):
assert os.path.exists("simulations/realization-0/iter-0/jobs.json")
make_run_path(ert_config)
iter0_output_files = os.listdir("simulations/realization-0/iter-0/")
assert (
len([f for f in iter0_output_files if f.startswith("jobs.json")]) > 1
), "No backup created for jobs.json"
assert len([f for f in iter0_output_files if f.startswith("jobs.json")]) > 1, (
"No backup created for jobs.json"
)


@pytest.mark.usefixtures("use_tmpdir")
Expand Down

0 comments on commit e26b1ce

Please sign in to comment.