File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ def test_notification_interval_exceeded_no_last_sent(self):
3737 self .assertTrue (context .notification_interval_exceeded ())
3838
3939 def test_notification_interval_exceeded_last_sent_old_enough (self ):
40- """Notification interval is exceeded if no mail has been sent before """
40+ """Notification interval is exceeded if last mail is too old """
4141 context = self .context_with_directive (
4242 last_sent = datetime .now (timezone .utc ) - timedelta (hours = 3 ),
4343 notification_interval = timedelta (hours = 2 ))
4444 self .assertTrue (context .notification_interval_exceeded ())
4545
4646 def test_notification_interval_exceeded_last_sent_too_new (self ):
47- """Notification interval is exceeded if no mail has been sent before """
47+ """Notification interval is not exceeded if last mail was sent in interval """
4848 context = self .context_with_directive (
4949 last_sent = datetime .now (timezone .utc ) - timedelta (hours = 1 ),
5050 notification_interval = timedelta (hours = 2 ))
You can’t perform that action at this time.
0 commit comments