test/unittest_cwctl.py
changeset 10353 d9a1e7939ee6
parent 9639 74b3db5bb41d
child 10600 180aa08cad48
--- a/test/unittest_cwctl.py	Fri Jun 13 12:07:51 2014 +0200
+++ b/test/unittest_cwctl.py	Fri Jun 13 13:54:28 2014 +0200
@@ -44,7 +44,7 @@
 
     def test_process_script_args_context(self):
         repo = self.repo
-        with self.admin_access.client_cnx() as cnx:
+        with self.admin_access.repo_cnx() as cnx:
             mih = ServerMigrationHelper(None, repo=repo, cnx=cnx,
                                         interactive=False,
                                         # hack so it don't try to load fs schema