[webtests/application] .user(...) really wants a request object
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 05 Jun 2014 11:56:33 +0200
changeset 9861 e90ff9d594e5
parent 9860 e24bf60428d3
child 9862 f97a65c29d82
[webtests/application] .user(...) really wants a request object
web/test/unittest_application.py
--- a/web/test/unittest_application.py	Wed Jun 04 15:46:16 2014 +0200
+++ b/web/test/unittest_application.py	Thu Jun 05 11:56:33 2014 +0200
@@ -182,7 +182,7 @@
 
     def test_publish_validation_error(self):
         with self.admin_access.web_request() as req:
-            user = self.user()
+            user = self.user(req)
             eid = unicode(user.eid)
             req.form = {
                 'eid':       eid,