mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-11 10:31:30 +00:00
add a couple more tests to show how the email frequency varies with valid/invalid candidates
This commit is contained in:
parent
6459977822
commit
f680bb3df8
@ -262,6 +262,12 @@ class T(unittest.TestCase):
|
|||||||
self.smtp_repetition(valid=True, expected=[
|
self.smtp_repetition(valid=True, expected=[
|
||||||
5, 7, 11, 19, 35, 65, 95, 125, 155, 185
|
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):
|
class ET(TestBase):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user