MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / test_get_metadata

Function test_get_metadata

tests/test_changelog_format_markdown.py:167–173  ·  view source on GitHub ↗
(
    tmp_path: Path, format: Markdown, content: str, expected: Metadata
)

Source from the content-addressed store, hash-verified

165 ],
166)
167def test_get_metadata(
168 tmp_path: Path, format: Markdown, content: str, expected: Metadata
169):
170 changelog = tmp_path / format.default_changelog_file
171 changelog.write_text(content)
172
173 assert format.get_metadata(str(changelog)) == expected
174
175
176@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

get_metadataMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…