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

Modified Files:
        test_bounces.py 
Log Message:
Added some more bounce recognition to SimpleMatch and changed the logic
so one all pattern sets are tried until a match is found so one start pattern 
whose
address doesn't match won't preempt a later patern set that will match.

Added more test cases.

Index: test_bounces.py
===================================================================
RCS file: /cvsroot/mailman/mailman/tests/test_bounces.py,v
retrieving revision 2.18
retrieving revision 2.19
diff -u -d -r2.18 -r2.19
--- test_bounces.py     2 Mar 2006 05:04:44 -0000       2.18
+++ test_bounces.py     3 Mar 2006 18:53:59 -0000       2.19
@@ -47,6 +47,8 @@
         ('SimpleMatch', 'simple_05.txt', ['[EMAIL PROTECTED]']),
         ('SimpleMatch', 'simple_06.txt', ['[EMAIL PROTECTED]']),
         ('SimpleMatch', 'simple_07.txt', ['[EMAIL PROTECTED]']),
+        ('SimpleMatch', 'simple_08.txt', ['[EMAIL PROTECTED]']),
+        ('SimpleMatch', 'simple_09.txt', ['[EMAIL PROTECTED]']),
         # SimpleWarning
         ('SimpleWarning', 'simple_03.txt', ['[EMAIL PROTECTED]']),
         # GroupWise
@@ -55,6 +57,8 @@
         # doesn't throw an exception, but we won't get any meaningful
         # addresses back from it.
         ('GroupWise', 'groupwise_02.txt', []),
+        # Actually, it's from Exchange, and Exchange does recognize it
+        ('Exchange', 'groupwise_02.txt', ['[EMAIL PROTECTED]']),
         # Yale's own
         ('Yale', 'yale_01.txt', ['[EMAIL PROTECTED]',
                                  '[EMAIL PROTECTED]']),

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

Reply via email to