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

Function use_cz_custom_validator

tests/commands/test_check_command.py:522–524  ·  view source on GitHub ↗
(mocker)

Source from the content-addressed store, hash-verified

520
521@pytest.fixture
522def use_cz_custom_validator(mocker):
523 new_cz = {**registry, "cz_custom_validator": ValidationCz}
524 mocker.patch.dict("commitizen.cz.registry", new_cz)
525
526
527@pytest.mark.usefixtures("use_cz_custom_validator")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected