From dae0f9cf6df8ca5caa72c24b87be1908084ecdbb Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 31 Jan 2025 13:59:08 -0800 Subject: [PATCH] fix test --- tests/app/job/test_rest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index e9d3e0f7b..e9091823b 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -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 @@ -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(