web/test/data/views.py
changeset 9019 e08f9c55dab5
parent 8544 3d049071957e
--- a/web/test/data/views.py	Thu Jun 13 18:46:39 2013 +0200
+++ b/web/test/data/views.py	Fri Jun 14 13:43:29 2013 +0200
@@ -34,7 +34,8 @@
             req.cnx.close()
         req.cnx = None
         try:
-            self.session_handler.set_session(req)
+            session = self.session_handler.get_session(req)
+            req.set_session(session)
         except Redirect:
             pass
         assert req.user.login == login