Skip to content

Commit 2332ee5

Browse files
ryuwdchrisburr
andauthored
fix: removed unnecessary empty comments
Co-authored-by: Chris Burr <chrisburr@users.noreply.github.com>
1 parent b51b02b commit 2332ee5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

diracx-routers/tests/jobs/test_status.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,6 @@ def test_heartbeat(normal_user_client: TestClient, valid_job_id: int):
10991099
assert hbt >= datetime.now(tz=timezone.utc) - timedelta(seconds=15)
11001100

11011101
# Kill the job by setting the status on it
1102-
#
11031102
r = normal_user_client.patch(
11041103
"/api/jobs/status",
11051104
json={
@@ -1115,13 +1114,10 @@ def test_heartbeat(normal_user_client: TestClient, valid_job_id: int):
11151114

11161115
sleep(1)
11171116
# Send another heartbeat and check that a Kill job command was set
1118-
#
11191117
payload = {valid_job_id: {"Vsize": 1235}}
11201118
r = normal_user_client.patch("/api/jobs/heartbeat", json=payload)
11211119
r.raise_for_status()
11221120

1123-
#
1124-
11251121
commands = r.json()
11261122
assert len(commands) == 1, "Exactly one job command should be returned"
11271123
assert commands[0]["job_id"] == valid_job_id, (
@@ -1133,7 +1129,6 @@ def test_heartbeat(normal_user_client: TestClient, valid_job_id: int):
11331129
sleep(1)
11341130

11351131
# Send another heartbeat and check the job commands are empty
1136-
#
11371132
payload = {valid_job_id: {"Vsize": 1234}}
11381133
r = normal_user_client.patch("/api/jobs/heartbeat", json=payload)
11391134
r.raise_for_status()

0 commit comments

Comments
 (0)