Integration test that a failing hook raises RunHookError.
()
| 48 | |
| 49 | |
| 50 | def test_run_integration_error(): |
| 51 | """Integration test that a failing hook raises RunHookError.""" |
| 52 | with pytest.raises(RunHookError): |
| 53 | hooks.run('python -c "import sys; sys.exit(1)"') |
nothing calls this directly
no outgoing calls
no test coverage detected