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

Method test_page_not_in_index

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

Source from the content-addressed store, hash-verified

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)
330 (wiki / "summaries" / "unlisted.md").write_text("# Unlisted")
331 # index.md has no mention of unlisted
332
333 result = check_index_sync(wiki)
334
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)

Callers

nothing calls this directly

Calls 2

check_index_syncFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected