web/test/unittest_application.py
changeset 9861 e90ff9d594e5
parent 9674 96549de9dd70
child 9862 f97a65c29d82
--- 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,