equal
deleted
inserted
replaced
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(), |