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

Modified Files:
      Tag: Release_2_1-maint
        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.16.2.2
retrieving revision 2.16.2.3
diff -u -d -r2.16.2.2 -r2.16.2.3
--- test_bounces.py     2 Mar 2006 05:06:17 -0000       2.16.2.2
+++ test_bounces.py     3 Mar 2006 18:52:19 -0000       2.16.2.3
@@ -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