# HG changeset patch # User Julien Cristau # Date 1396447749 -7200 # Node ID 90fb0623bb7009e435eae5608c3077a9b5192572 # Parent 6baaca81c629af8ffcae45ac5754dd31abf262fc [devtools] avoid an internal deprecation warning websession and session are now one and the same. diff -r 6baaca81c629 -r 90fb0623bb70 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