()
| 162 | |
| 163 | |
| 164 | def test_pr_index(): |
| 165 | changelog = Changelog.from_text(TEST_CHANGELOG) |
| 166 | unreleased = changelog.unreleased |
| 167 | unreleased.create_pr_index() |
| 168 | assert unreleased.pr_index == { |
| 169 | 5343: PrChangelogIndex(0, 0, 0, False), |
| 170 | 5350: PrChangelogIndex(0, 0, 0, False), |
| 171 | 5374: PrChangelogIndex(1, 1, 0, True), |
| 172 | 5388: PrChangelogIndex(0, 0, 1, True), |
| 173 | 5432: PrChangelogIndex(1, 0, 1, True), |
| 174 | 5434: PrChangelogIndex(0, 1, 0, True), |
| 175 | 5436: PrChangelogIndex(1, 0, 0, True), |
| 176 | 5445: PrChangelogIndex(0, 1, 1, True), |
| 177 | } |
| 178 | |
| 179 | |
| 180 | def test_add_backported_entries(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…