(
tmp_path: Path, format: AsciiDoc, content: str, expected: Metadata
)
| 165 | ], |
| 166 | ) |
| 167 | def test_get_metadata( |
| 168 | tmp_path: Path, format: AsciiDoc, 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 | def test_get_latest_full_release_no_file(format: AsciiDoc): |
nothing calls this directly
no test coverage detected
searching dependent graphs…