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

Function use_cz_semver

tests/conftest.py:263–265  ·  view source on GitHub ↗
(mocker)

Source from the content-addressed store, hash-verified

261
262@pytest.fixture
263def use_cz_semver(mocker):
264 new_cz = {**registry, "cz_semver": SemverCommitizen}
265 mocker.patch.dict("commitizen.cz.registry", new_cz)
266
267
268class MockPlugin(BaseCommitizen):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected