changeset 10353 | d9a1e7939ee6 |
parent 10346 | b926ff4ef4a8 |
child 10354 | 635cfac73d28 |
--- a/devtools/testlib.py Fri Jun 13 12:07:51 2014 +0200 +++ b/devtools/testlib.py Fri Jun 13 13:54:28 2014 +0200 @@ -261,7 +261,7 @@ @contextmanager def shell(self): from cubicweb.server.migractions import ServerMigrationHelper - with repoapi.ClientConnection(self._session) as cnx: + with self._session.new_cnx() as cnx: mih = ServerMigrationHelper(None, repo=self._repo, cnx=cnx, interactive=False, # hack so it don't try to load fs schema