devtools/apptest.py
changeset 976 84884807b77b
parent 971 3abae727d121
child 1005 09ba3cb2a440
child 1119 3f23846b7946
--- a/devtools/apptest.py	Thu Feb 26 13:31:13 2009 +0100
+++ b/devtools/apptest.py	Thu Feb 26 13:31:29 2009 +0100
@@ -453,7 +453,7 @@
         self.__commit = repo.commit
         self.__rollback = repo.rollback
         self.__close = repo.close
-        self.cnxid = self._cnx.sessionid
+        self.cnxid = self.cnx.sessionid
         self.session = repo._sessions[self.cnxid]
         # XXX copy schema since hooks may alter it and it may be not fully
         #     cleaned (missing some schema synchronization support)