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

Function test_get_format

tests/test_changelog_formats.py:39–41  ·  view source on GitHub ↗
(config: BaseConfig, name: str, expected: type[ChangelogFormat])

Source from the content-addressed store, hash-verified

37 ],
38)
39def test_get_format(config: BaseConfig, name: str, expected: type[ChangelogFormat]):
40 config.settings["changelog_format"] = name
41 assert isinstance(get_changelog_format(config), expected)
42
43
44@pytest.mark.parametrize("filename", [None, ""])

Callers

nothing calls this directly

Calls 1

get_changelog_formatFunction · 0.90

Tested by

no test coverage detected