web/test/unittest_application.py
changeset 10890 504a67206fdc
parent 10780 a96ed0acc556
child 11127 6464edfa95bb
--- a/web/test/unittest_application.py	Mon Sep 07 18:42:47 2015 +0200
+++ b/web/test/unittest_application.py	Wed Sep 09 18:52:56 2015 +0200
@@ -182,7 +182,7 @@
 
     def test_publish_validation_error(self):
         with self.admin_access.web_request() as req:
-            user = self.user(req)
+            user = req.user
             eid = text_type(user.eid)
             req.form = {
                 'eid':       eid,