mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 11:21:31 +00:00
Adjust the email tests to the intervals we expect
This commit is contained in:
parent
9c76c762cc
commit
64d9bdda91
@ -250,10 +250,10 @@ class T(unittest.TestCase):
|
|||||||
"""Confirm that emails are sent at appropriate intervals."""
|
"""Confirm that emails are sent at appropriate intervals."""
|
||||||
# Emails were sent when daysold reached these values:
|
# Emails were sent when daysold reached these values:
|
||||||
self.smtp_repetition(valid=False, expected=[
|
self.smtp_repetition(valid=False, expected=[
|
||||||
1.0, 3.0, 7.0, 15.0, 31.0, 61.0, 91.0, 121.0, 151.0, 181.0
|
1, 3, 7, 15, 31, 61, 91, 121, 151, 181
|
||||||
])
|
])
|
||||||
self.smtp_repetition(valid=True, expected=[
|
self.smtp_repetition(valid=True, expected=[
|
||||||
5.0, 11.0, 23.0, 47.0, 77.0, 107.0, 137.0, 167.0, 197.0
|
5, 7, 11, 19, 35, 65, 95, 125, 155, 185
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user