(cap_out, store, repo_with_failing_hook)
| 157 | |
| 158 | |
| 159 | def test_run_all_hooks_failing(cap_out, store, repo_with_failing_hook): |
| 160 | _test_run( |
| 161 | cap_out, |
| 162 | store, |
| 163 | repo_with_failing_hook, |
| 164 | {}, |
| 165 | ( |
| 166 | b'Failing hook', |
| 167 | b'Failed', |
| 168 | b'hook id: failing_hook', |
| 169 | b'Fail\nfoo.py\n', |
| 170 | ), |
| 171 | expected_ret=1, |
| 172 | stage=True, |
| 173 | ) |
| 174 | |
| 175 | |
| 176 | def test_arbitrary_bytes_hook(cap_out, store, tempdir_factory): |
nothing calls this directly
no test coverage detected