(self, tmp_path)
| 335 | assert any("unlisted" in issue for issue in result) |
| 336 | |
| 337 | def test_entity_page_not_in_index(self, tmp_path): |
| 338 | wiki = _make_wiki(tmp_path) |
| 339 | (wiki / "entities").mkdir() |
| 340 | (wiki / "entities" / "ada-lovelace.md").write_text("# Ada Lovelace") |
| 341 | # index.md has no mention of the entity |
| 342 | (wiki / "index.md").write_text("# Index\n\n## Documents\n\n## Concepts\n\n## Entities\n") |
| 343 | |
| 344 | result = check_index_sync(wiki) |
| 345 | |
| 346 | assert any( |
| 347 | "entities/ada-lovelace.md not mentioned in index.md" in issue for issue in result |
| 348 | ) |
| 349 | |
| 350 | def test_missing_index_md(self, tmp_path): |
| 351 | wiki = tmp_path / "wiki" |
nothing calls this directly
no test coverage detected