Update of /cvsroot/mailman/mailman/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8273
Modified Files:
Tag: Release_2_1-maint
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.16.2.3
retrieving revision 2.16.2.4
diff -u -d -r2.16.2.3 -r2.16.2.4
--- test_bounces.py 3 Mar 2006 18:52:19 -0000 2.16.2.3
+++ test_bounces.py 6 Mar 2006 18:12:35 -0000 2.16.2.4
@@ -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