web/test/unittest_form.py
branchtls-sprint
changeset 1074 c07f3accf04a
parent 1057 6636c75c4aa9
child 1111 bcb81e7c41bc
--- a/web/test/unittest_form.py	Wed Mar 11 19:54:03 2009 +0100
+++ b/web/test/unittest_form.py	Wed Mar 11 19:54:30 2009 +0100
@@ -34,6 +34,13 @@
         rset = self.execute('EGroup X')
         self.assertTextEquals(self.view('deleteconf', rset, template=None).source,
                               '')
+        
+    def test_massmailing_form(self):
+        self.execute('INSERT EmailAddress X: X address L + "@cubicweb.org", '
+                     'U use_email X WHERE U is EUser, U login L')
+        rset = self.execute('EUser X')
+        self.assertTextEquals(self.view('massmailing', rset, template=None).source,
+                              '')
 
     # fields tests ############################################################