[web test] silent 3.13 warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 29 Jul 2013 16:00:40 +0200
branchstable
changeset 9197 9905d9efa4a3
parent 9196 13461cb8ff40
child 9198 c32a21bf88bb
[web test] silent 3.13 warning
web/test/unittest_views_actions.py
--- a/web/test/unittest_views_actions.py	Fri Jul 26 13:47:52 2013 +0200
+++ b/web/test/unittest_views_actions.py	Mon Jul 29 16:00:40 2013 +0200
@@ -1,4 +1,4 @@
-# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
 #
 # This file is part of CubicWeb.
@@ -15,16 +15,14 @@
 #
 # You should have received a copy of the GNU Lesser General Public License along
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
-"""
 
-"""
 from logilab.common.testlib import unittest_main
 
 from cubicweb.devtools.testlib import CubicWebTC
 
 class ActionsTC(CubicWebTC):
     def test_view_action(self):
-        req = self.request(__message='bla bla bla', vid='rss', rql='CWUser X')
+        req = self.request(vid='rss', rql='CWUser X')
         rset = self.execute('CWUser X')
         actions = self.vreg['actions'].poss_visible_objects(req, rset=rset)
         vaction = [action for action in actions if action.__regid__ == 'view'][0]