--- a/devtools/testlib.py Mon Apr 07 12:28:25 2014 +0200
+++ b/devtools/testlib.py Tue Apr 01 10:28:16 2014 +0200
@@ -553,7 +553,7 @@
raise
resume_tracing()
self.setup_database()
- self.commit()
+ self._admin_clt_cnx.commit()
MAILBOX[:] = [] # reset mailbox
def tearDown(self):
--- a/server/migractions.py Mon Apr 07 12:28:25 2014 +0200
+++ b/server/migractions.py Tue Apr 01 10:28:16 2014 +0200
@@ -93,7 +93,7 @@
assert repo
self.cnx = cnx
self.repo = repo
- self.session = repo._get_session(cnx.sessionid)
+ self.session = cnx._session
elif connect:
self.repo_connect()
self.set_session()