diff options
author | msapiro <> | 2006-03-06 18:12:36 +0000 |
---|---|---|
committer | msapiro <> | 2006-03-06 18:12:36 +0000 |
commit | 01568fe1041a0002160a962526c1203bf65d2fc3 (patch) | |
tree | 923c13c68695dfc3bba2b5e72f8b9e4ca79921f0 /tests/test_bounces.py | |
parent | 8150914806968df6a3cfd04dc74eed1882feac8b (diff) | |
download | mailman2-01568fe1041a0002160a962526c1203bf65d2fc3.tar.gz mailman2-01568fe1041a0002160a962526c1203bf65d2fc3.tar.xz mailman2-01568fe1041a0002160a962526c1203bf65d2fc3.zip |
Updated SimpleWarning to return Stop. Updated SimpleMatch to catch a few more
Added some more test cases.
Diffstat (limited to 'tests/test_bounces.py')
-rw-r--r-- | tests/test_bounces.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_bounces.py b/tests/test_bounces.py index 1269fd5f..e0979508 100644 --- a/tests/test_bounces.py +++ b/tests/test_bounces.py @@ -49,8 +49,10 @@ class BounceTest(unittest.TestCase): ('SimpleMatch', 'simple_07.txt', ['william.xxxx@sbcglobal.net']), ('SimpleMatch', 'simple_08.txt', ['severin.XXX@t-online.de']), ('SimpleMatch', 'simple_09.txt', ['RobotMail@auto-walther.de']), + ('SimpleMatch', 'simple_10.txt', ['sais@thehartford.com']), + ('SimpleMatch', 'simple_11.txt', ['carlosr73@hartfordlife.com']), # SimpleWarning - ('SimpleWarning', 'simple_03.txt', ['jacobus@geo.co.za']), + ('SimpleWarning', 'simple_03.txt', Stop), # GroupWise ('GroupWise', 'groupwise_01.txt', ['thoff@MAINEX1.ASU.EDU']), # This one really sucks 'cause it's text/html. Just make sure it @@ -142,6 +144,8 @@ class BounceTest(unittest.TestCase): if foundaddrs is None: foundaddrs = [] if foundaddrs is not Stop: + # MAS: The following strip() is only because of my + # hybrid test environment. It is not otherwise needed. foundaddrs = [found.strip() for found in foundaddrs] addrs.sort() foundaddrs.sort() |