Prakash Kumar has proposed merging lp:~prakash09/mailman/test into lp:mailman.

Requested reviews:
  Mailman Coders (mailman-coders)
Related bugs:
  Bug #266288 in GNU Mailman: "Valid E-mails Rejected as Invalid"
  https://bugs.launchpad.net/mailman/+bug/266288

For more details, see:
https://code.launchpad.net/~prakash09/mailman/test/+merge/253150

Test added for registration of odd email id. It is the test for the bug 
https://bugs.launchpad.net/mailman/+bug/266288. Test is added in the 
'src/mailman/app/tests/test_registration.py' file.
-- 
Your team Mailman Coders is requested to review the proposed merge of 
lp:~prakash09/mailman/test into lp:mailman.
=== modified file 'src/mailman/app/tests/test_registration.py'
--- src/mailman/app/tests/test_registration.py	2015-01-05 01:22:39 +0000
+++ src/mailman/app/tests/test_registration.py	2015-03-17 04:46:34 +0000
@@ -59,6 +59,12 @@
                           self.registrar.register, self.mlist,
                           '<script>@example.com')
 
+    #test for this(https://bugs.launchpad.net/mailman/+bug/266288) bug
+    def test_odd_address_allowed(self):
+        self.assertRaises(InvalidEmailAddressError,
+                self.registrar.register,self.mlist,
+                          '[email protected]')
+
     def test_ascii_only(self):
         self.assertRaises(InvalidEmailAddressError,
                           self.registrar.register, self.mlist,

=== modified file 'src/mailman/docs/START.rst'
_______________________________________________
Mailman-coders mailing list
[email protected]
https://mail.python.org/mailman/listinfo/mailman-coders

Reply via email to