Add comment clarifying timings in test case

This commit is contained in:
Chris Hill-Scott
2020-01-23 16:31:21 +00:00
parent 291734b0c4
commit 3b108e8c93

View File

@@ -349,6 +349,12 @@ def test_should_show_job_without_notifications(
'No messages to show yet…'
)),
# Created a while ago, started exactly 24h ago
# ---
# It doesnt matter that 24h (1 day) and 7 days (the services data
# retention) dont match up. Were testing the case of no
# notifications existing more than 1 day after the job started
# processing. In this case we assume its because the services
# data retention has kicked in.
(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'
)),