devtools/testlib.py
branchstable
changeset 4916 4b8cdda342ae
parent 4719 aaed3f813ef8
child 4917 756ded5bc9eb
--- a/devtools/testlib.py	Tue Mar 16 12:40:59 2010 +0100
+++ b/devtools/testlib.py	Tue Mar 16 17:44:32 2010 +0100
@@ -503,7 +503,7 @@
         req.cnx = None
         sh = self.app.session_handler
         authm = sh.session_manager.authmanager
-        authm.authinforetreivers[-1].anoninfo = self.vreg.config.anonymous_user()
+        authm.anoninfo = self.vreg.config.anonymous_user()
         # not properly cleaned between tests
         self.open_sessions = sh.session_manager._sessions = {}
         return req, origcnx