Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
HansVRP committed Jan 8, 2025
1 parent 9300f83 commit 4f4437e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/extra/job_management/test_job_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def test_status_logging(self, tmp_path, job_manager, job_manager_root_dir, sleep


@pytest.mark.parametrize(
["create_time", "start_time", "running_start_time", "end_time", "end_status", "cancel_after_seconds", "expected_status"],
["create_time", "start_time", "running_start_time", "end_time", "end_status", "cancel_after_seconds"],
[
# Scenario 1: Missing running_start_time (None)
(
Expand All @@ -658,7 +658,6 @@ def test_status_logging(self, tmp_path, job_manager, job_manager_root_dir, sleep
"2024-09-01T20:00:00Z", # Job end time
"finished", # Job final status
6 * 60 * 60, # Cancel after 6 hours
"finished", # Expected final status
),
# Scenario 2: NaN running_start_time
(
Expand All @@ -668,7 +667,6 @@ def test_status_logging(self, tmp_path, job_manager, job_manager_root_dir, sleep
"2024-09-01T20:00:00Z", # Job end time
"finished", # Job final status
6 * 60 * 60, # Cancel after 6 hours
"finished", # Expected final status
),
]
)
Expand All @@ -682,7 +680,6 @@ def test_ensure_running_start_time_is_datetime(
end_time,
end_status,
cancel_after_seconds,
expected_status,
dummy_backend_foo,
job_manager_root_dir,
):
Expand Down

0 comments on commit 4f4437e

Please sign in to comment.