Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Kehl committed Jan 31, 2025
1 parent 048126c commit dae0f9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/app/job/test_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number(
job_id=main_job.id,
)

print("RUNNING TEST 1 and checking total is 13")
assert len(resp["notifications"]) == 13
assert resp["notifications"][0]["status"] == "virus-scan-failed"
assert resp["notifications"][0]["job_row_number"] == 13
Expand All @@ -525,11 +524,10 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number(
**query_string,
)

print("RUNNING TEST TWO WITH LENGTH == 1")
assert len(resp["notifications"]) == 1

assert resp["notifications"][0]["status"] == "delivered"
assert resp["notifications"][0]["job_row_number"] == 0
assert resp["notifications"][0]["job_row_number"] == 5


@pytest.mark.parametrize(
Expand Down

0 comments on commit dae0f9c

Please sign in to comment.