fix tests stable cubicweb-mailinglist-version-1.7.1

Mon, 19 Mar 2012 10:38:44 +0100

author
Sylvain Thénault <sylvain.thenault@logilab.fr>
date
Mon, 19 Mar 2012 10:38:44 +0100
branch
stable
changeset 73
19ec23feb27e
parent 72
d4c56b34b052
child 74
844b924442ec
child 75
77c1efd80adb

fix tests

test/unittest_mailinglist.py file | annotate | diff | comparison | revisions
--- a/test/unittest_mailinglist.py	Fri Mar 16 10:06:30 2012 +0100
+++ b/test/unittest_mailinglist.py	Mon Mar 19 10:38:44 2012 +0100
@@ -7,14 +7,14 @@
     def test_possible_actions(self):
         req = self.request()
         rset = req.execute('INSERT MailingList X: X name "python-projects", '
-                          'X archive "http://list.logilab.org/python-projects/archives", '
-                          'X homepage "http://list.logilab.org/python-projects/register"')
+                           'X email_address "python-projects@logilab.fr",'
+                           'X archive "http://list.logilab.org/python-projects/archives", '
+                           'X homepage "http://list.logilab.org/python-projects/register"')
         actionsdict = self.pactionsdict(req, rset)
         self.assertListEqual(actionsdict['mainactions'],
                               [actions.ModifyAction,
                                mlactions.MLArchiveAction,
-                               mlactions.MLRegisterAction,
-                               massmailing.SendEmailAction])
+                               mlactions.MLRegisterAction])
         self.assertListEqual(actionsdict['moreactions'],
                               [actions.ManagePermissionsAction,
                                actions.AddRelatedActions,

mercurial