diff --git a/tests/app/dao/notification_dao/test_notification_dao.py b/tests/app/dao/notification_dao/test_notification_dao.py index d1fc1ab6e..a6748dd33 100644 --- a/tests/app/dao/notification_dao/test_notification_dao.py +++ b/tests/app/dao/notification_dao/test_notification_dao.py @@ -701,8 +701,7 @@ def test_get_recent_notifications_for_job(sample_job): notifications_from_db = get_recent_notifications_for_job( sample_job.service.id, sample_job.id ).items - print(notifications_from_db) - assert len(notifications_from_db) == 2 + assert len(notifications_from_db) == 13 def test_get_all_notifications_for_job_by_status(sample_job): diff --git a/tests/app/job/test_rest.py b/tests/app/job/test_rest.py index 829cc39a3..a12e3db36 100644 --- a/tests/app/job/test_rest.py +++ b/tests/app/job/test_rest.py @@ -512,9 +512,7 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number( job_id=main_job.id, ) - assert len(resp["notifications"]) == 2 - for n in resp["notifications"]: - print(n) + assert len(resp["notifications"]) == 13 assert resp["notifications"][0]["status"] == "failed" assert resp["notifications"][0]["job_row_number"] == 7 assert resp["notifications"][1]["status"] == "delivered"