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

Function test_get_metadata

tests/test_changelog_format_textile.py:160–166  ·  view source on GitHub ↗
(
    tmp_path: Path, format: Textile, content: str, expected: Metadata
)

Source from the content-addressed store, hash-verified

158 ],
159)
160def test_get_metadata(
161 tmp_path: Path, format: Textile, content: str, expected: Metadata
162):
163 changelog = tmp_path / format.default_changelog_file
164 changelog.write_text(content)
165
166 assert format.get_metadata(str(changelog)) == expected
167
168
169@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…