test/unittest_selectors.py
changeset 7244 a918f76441ce
parent 6981 d1a279ece4a0
child 7293 97505b798975
child 7345 b9eaad6e34c3
--- a/test/unittest_selectors.py	Fri Apr 22 10:29:23 2011 +0200
+++ b/test/unittest_selectors.py	Fri Apr 22 11:58:41 2011 +0200
@@ -328,7 +328,8 @@
         self.failUnless(SomeAction in self.vreg['actions']['yo'], self.vreg['actions'])
         try:
             # login as a simple user
-            self.create_user('john')
+            req = self.request()
+            self.create_user(req, 'john')
             self.login('john')
             # it should not be possible to use SomeAction not owned objects
             req = self.request()