server/test/unittest_security.py
changeset 3447 0a0f8df4a2f7
parent 3293 69c0ba095536
child 3890 d7a270f50f54
--- a/server/test/unittest_security.py	Wed Sep 23 19:16:51 2009 +0200
+++ b/server/test/unittest_security.py	Wed Sep 23 19:23:09 2009 +0200
@@ -504,7 +504,7 @@
             aff.fire_transition('abort')
             cnx.commit()
             # though changing a user state (even logged user) is reserved to managers
-            user = cnx.user(self.current_session())
+            user = cnx.user(self.session)
             # XXX wether it should raise Unauthorized or ValidationError is not clear
             # the best would probably ValidationError if the transition doesn't exist
             # from the current state but Unauthorized if it exists but user can't pass it