Update of /cvsroot/mailman/mailman/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10375

Modified Files:
        test_bounces.py 
Log Message:
Updated SimpleWarning to return Stop. Updated SimpleMatch to catch a few more
Added some more test cases.

Index: test_bounces.py
===================================================================
RCS file: /cvsroot/mailman/mailman/tests/test_bounces.py,v
retrieving revision 2.19
retrieving revision 2.20
diff -u -d -r2.19 -r2.20
--- test_bounces.py     3 Mar 2006 18:53:59 -0000       2.19
+++ test_bounces.py     6 Mar 2006 18:14:58 -0000       2.20
@@ -49,8 +49,10 @@
         ('SimpleMatch', 'simple_07.txt', ['[EMAIL PROTECTED]']),
         ('SimpleMatch', 'simple_08.txt', ['[EMAIL PROTECTED]']),
         ('SimpleMatch', 'simple_09.txt', ['[EMAIL PROTECTED]']),
+        ('SimpleMatch', 'simple_10.txt', ['[EMAIL PROTECTED]']),
+        ('SimpleMatch', 'simple_11.txt', ['[EMAIL PROTECTED]']),
         # SimpleWarning
-        ('SimpleWarning', 'simple_03.txt', ['[EMAIL PROTECTED]']),
+        ('SimpleWarning', 'simple_03.txt', Stop),
         # GroupWise
         ('GroupWise', 'groupwise_01.txt', ['[EMAIL PROTECTED]']),
         # This one really sucks 'cause it's text/html.  Just make sure it
@@ -142,6 +144,8 @@
             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()

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to