(cap_out, store, repo, args, environ={}, config_file=C.CONFIG_FILE)
| 136 | |
| 137 | |
| 138 | def _do_run(cap_out, store, repo, args, environ={}, config_file=C.CONFIG_FILE): |
| 139 | with cwd(repo): # replicates `main._adjust_args_and_chdir` behaviour |
| 140 | ret = run(config_file, store, args, environ=environ) |
| 141 | printed = cap_out.get_bytes() |
| 142 | return ret, printed |
| 143 | |
| 144 | |
| 145 | def _test_run( |
no test coverage detected