[devtools] avoid an internal deprecation warning
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 02 Apr 2014 16:09:09 +0200
changeset 9626 90fb0623bb70
parent 9625 6baaca81c629
child 9627 91166f6fd2c9
[devtools] avoid an internal deprecation warning websession and session are now one and the same.
devtools/testlib.py
--- a/devtools/testlib.py	Wed Apr 02 12:38:29 2014 +0200
+++ b/devtools/testlib.py	Wed Apr 02 16:09:09 2014 +0200
@@ -942,7 +942,7 @@
         authm.anoninfo = authm.anoninfo[0], {'password': authm.anoninfo[1]}
         # not properly cleaned between tests
         self.open_sessions = sh.session_manager._sessions = {}
-        return req, self.websession
+        return req, self.session
 
     def assertAuthSuccess(self, req, origsession, nbsessions=1):
         sh = self.app.session_handler