devtools/testlib.py
changeset 4835 13b0b96d7982
parent 4719 aaed3f813ef8
child 4913 083b4d454192
--- a/devtools/testlib.py	Mon Mar 08 19:02:35 2010 +0100
+++ b/devtools/testlib.py	Tue Mar 09 08:59:43 2010 +0100
@@ -228,7 +228,9 @@
     @property
     def session(self):
         """return current server side session (using default manager account)"""
-        return self.repo._sessions[self.cnx.sessionid]
+        session = self.repo._sessions[self.cnx.sessionid]
+        session.set_pool()
+        return session
 
     @property
     def adminsession(self):