test/unittest_cwctl.py
changeset 10353 d9a1e7939ee6
parent 9639 74b3db5bb41d
child 10600 180aa08cad48
equal deleted inserted replaced
10352:bab2befaac9b 10353:d9a1e7939ee6
    42 
    42 
    43 class CubicWebShellTC(CubicWebTC):
    43 class CubicWebShellTC(CubicWebTC):
    44 
    44 
    45     def test_process_script_args_context(self):
    45     def test_process_script_args_context(self):
    46         repo = self.repo
    46         repo = self.repo
    47         with self.admin_access.client_cnx() as cnx:
    47         with self.admin_access.repo_cnx() as cnx:
    48             mih = ServerMigrationHelper(None, repo=repo, cnx=cnx,
    48             mih = ServerMigrationHelper(None, repo=repo, cnx=cnx,
    49                                         interactive=False,
    49                                         interactive=False,
    50                                         # hack so it don't try to load fs schema
    50                                         # hack so it don't try to load fs schema
    51                                         schema=1)
    51                                         schema=1)
    52             scripts = {'script1.py': list(),
    52             scripts = {'script1.py': list(),