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

Method test_clean_index

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

Source from the content-addressed store, hash-verified

307
308class 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)

Callers

nothing calls this directly

Calls 2

check_index_syncFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected