MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / test_run_integration_error

Function test_run_integration_error

tests/test_bump_hooks.py:50–53  ·  view source on GitHub ↗

Integration test that a failing hook raises RunHookError.

()

Source from the content-addressed store, hash-verified

48
49
50def 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)"')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected