(self, tmp_path)
| 307 | |
| 308 | class TestCheckIndexSync: |
| 309 | def test_clean_index(self, tmp_path): |
| 310 | wiki = _make_wiki(tmp_path) |
| 311 | (wiki / "summaries" / "paper.md").write_text("# Paper") |
| 312 | (wiki / "index.md").write_text( |
| 313 | "# Index\n\n## Documents\n- [[summaries/paper]]\n\n## Concepts\n" |
| 314 | ) |
| 315 | |
| 316 | result = check_index_sync(wiki) |
| 317 | |
| 318 | assert result == [] |
| 319 | |
| 320 | def test_broken_index_link(self, tmp_path): |
| 321 | wiki = _make_wiki(tmp_path) |
nothing calls this directly
no test coverage detected