MCPcopy Create free account
hub / github.com/VectifyAI/OpenKB / test_broken_index_link

Method test_broken_index_link

tests/test_lint.py:320–326  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

318 assert result == []
319
320 def test_broken_index_link(self, tmp_path):
321 wiki = _make_wiki(tmp_path)
322 (wiki / "index.md").write_text("# Index\n\n## Documents\n- [[summaries/ghost]]\n")
323
324 result = check_index_sync(wiki)
325
326 assert any("ghost" in issue for issue in result)
327
328 def test_page_not_in_index(self, tmp_path):
329 wiki = _make_wiki(tmp_path)

Callers

nothing calls this directly

Calls 2

check_index_syncFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected