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

Function any_changelog_format

tests/conftest.py:314–317  ·  view source on GitHub ↗

For test not relying on formats specifics, use the default

(config: BaseConfig)

Source from the content-addressed store, hash-verified

312
313@pytest.fixture
314def any_changelog_format(config: BaseConfig) -> ChangelogFormat:
315 """For test not relying on formats specifics, use the default"""
316 config.settings["changelog_format"] = defaults.CHANGELOG_FORMAT
317 return get_changelog_format(config)
318
319
320@pytest.fixture(params=[pytest.param(PYTHON_VERSION, id=f"py_{PYTHON_VERSION}")])

Callers

nothing calls this directly

Calls 1

get_changelog_formatFunction · 0.90

Tested by

no test coverage detected