mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-06 22:58:25 -04:00
fix test
This commit is contained in:
@@ -512,14 +512,9 @@ def test_get_recent_notifications_for_job_in_reverse_order_of_job_number(
|
|||||||
job_id=main_job.id,
|
job_id=main_job.id,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert len(resp["notifications"]) == 3
|
assert len(resp["notifications"]) == 2
|
||||||
print(resp["notifications"])
|
assert resp["notifications"][0]["notification_status"] == "failed"
|
||||||
# assert resp["notifications"][0]["to"] == notification_3.to
|
assert resp["notifications"][1]["notification_status"] == "delivered"
|
||||||
# assert resp["notifications"][0]["job_row_number"] == notification_3.job_row_number
|
|
||||||
# assert resp["notifications"][1]["to"] == notification_2.to
|
|
||||||
# assert resp["notifications"][1]["job_row_number"] == notification_2.job_row_number
|
|
||||||
# assert resp["notifications"][2]["to"] == notification_1.to
|
|
||||||
# assert resp["notifications"][2]["job_row_number"] == notification_1.job_row_number
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
|
|||||||
Reference in New Issue
Block a user