add a couple more tests to show how the email frequency varies with valid/invalid candidates

master
Steve Langasek 7 years ago
parent 6459977822
commit f680bb3df8

@ -262,6 +262,12 @@ class T(unittest.TestCase):
self.smtp_repetition(valid=True, expected=[
5, 7, 11, 19, 35, 65, 95, 125, 155, 185
])
self.smtp_repetition(valid=[False, False, True], expected=[
1, 3, 5, 7, 11, 19, 35, 65, 95, 125, 155, 185
])
self.smtp_repetition(valid=[False, False, True, False, True], expected=[
1, 3, 5, 13, 29, 59, 89, 119, 149, 179
])
class ET(TestBase):

Loading…
Cancel
Save