[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[minion-cvs] Add test for $@com address



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv16423/lib/mixminion

Modified Files:
	test.py 
Log Message:
Add test for $@com address

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- test.py	5 Jan 2003 06:49:25 -0000	1.61
+++ test.py	5 Jan 2003 12:36:23 -0000	1.62
@@ -212,7 +212,8 @@
 
     def test_isSMTPMailbox(self):
         # Do we accept good addresses?
-        for addr in "Foo@bar.com", "a@b", "a@b.c.d.e", "a!b.c@d", "z@z":
+        for addr in ("Foo@bar.com", "a@b", "a@b.c.d.e", "a!b.c@d", "z@z",
+                     "$@com"):
             self.assert_(isSMTPMailbox(addr))
 
         # Do we reject bad addresses?