mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
fix test
This commit is contained in:
@@ -74,9 +74,10 @@ def test_fetch_notification_status_for_service_by_month(notify_db_session):
|
|||||||
fetch_notification_status_for_service_by_month(
|
fetch_notification_status_for_service_by_month(
|
||||||
date(2018, 1, 1), date(2018, 2, 28), service_1.id
|
date(2018, 1, 1), date(2018, 2, 28), service_1.id
|
||||||
),
|
),
|
||||||
key=lambda x: (x.month, x.notification_type, x.notification_status),
|
key=lambda x: (x.month, x.notification_status),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
print(results)
|
||||||
assert len(results) == 3
|
assert len(results) == 3
|
||||||
|
|
||||||
assert results[1].month.date() == date(2018, 1, 1)
|
assert results[1].month.date() == date(2018, 1, 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user