mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 21:38:26 -04:00
Add comment clarifying timings in test case
This commit is contained in:
@@ -349,6 +349,12 @@ def test_should_show_job_without_notifications(
|
|||||||
'No messages to show yet…'
|
'No messages to show yet…'
|
||||||
)),
|
)),
|
||||||
# Created a while ago, started exactly 24h ago
|
# Created a while ago, started exactly 24h ago
|
||||||
|
# ---
|
||||||
|
# It doesn’t matter that 24h (1 day) and 7 days (the service’s data
|
||||||
|
# retention) don’t match up. We’re testing the case of no
|
||||||
|
# notifications existing more than 1 day after the job started
|
||||||
|
# processing. In this case we assume it’s because the service’s
|
||||||
|
# data retention has kicked in.
|
||||||
(datetime(2020, 1, 1, 0, 0, 0), datetime(2020, 1, 9, 1, 0, 0), (
|
(datetime(2020, 1, 1, 0, 0, 0), datetime(2020, 1, 9, 1, 0, 0), (
|
||||||
'These messages have been deleted because they were sent more than 7 days ago'
|
'These messages have been deleted because they were sent more than 7 days ago'
|
||||||
)),
|
)),
|
||||||
|
|||||||
Reference in New Issue
Block a user