(cap_out, store, repo_with_passing_hook)
| 425 | |
| 426 | |
| 427 | def test_always_run(cap_out, store, repo_with_passing_hook): |
| 428 | with modify_config() as config: |
| 429 | config['repos'][0]['hooks'][0]['always_run'] = True |
| 430 | _test_run( |
| 431 | cap_out, |
| 432 | store, |
| 433 | repo_with_passing_hook, |
| 434 | {}, |
| 435 | (b'Bash hook', b'Passed'), |
| 436 | 0, |
| 437 | stage=False, |
| 438 | ) |
| 439 | |
| 440 | |
| 441 | def test_always_run_alt_config(cap_out, store, repo_with_passing_hook): |
nothing calls this directly
no test coverage detected