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

Function util

tests/utils.py:127–133  ·  view source on GitHub ↗

An helper fixture

(
    monkeypatch: pytest.MonkeyPatch,
    mocker: MockerFixture,
    freezer: FrozenDateTimeFactory,
)

Source from the content-addressed store, hash-verified

125
126@pytest.fixture
127def util(
128 monkeypatch: pytest.MonkeyPatch,
129 mocker: MockerFixture,
130 freezer: FrozenDateTimeFactory,
131) -> UtilFixture:
132 """An helper fixture"""
133 return UtilFixture(mocker=mocker, monkeypatch=monkeypatch, freezer=freezer)

Callers

nothing calls this directly

Calls 1

UtilFixtureClass · 0.85

Tested by

no test coverage detected