(self, tmp_path)
| 58 | assert "missing_concept" in result[0] |
| 59 | |
| 60 | def test_multiple_broken_links(self, tmp_path): |
| 61 | wiki = _make_wiki(tmp_path) |
| 62 | (wiki / "summaries" / "doc.md").write_text( |
| 63 | "See [[concepts/foo]] and [[concepts/bar]]", encoding="utf-8" |
| 64 | ) |
| 65 | |
| 66 | result = find_broken_links(wiki) |
| 67 | |
| 68 | assert len(result) == 2 |
| 69 | |
| 70 | def test_no_links_means_no_errors(self, tmp_path): |
| 71 | wiki = _make_wiki(tmp_path) |
nothing calls this directly
no test coverage detected