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

Method test_excludes_excluded_files

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

Source from the content-addressed store, hash-verified

731 assert not any(p.parts[-2] == "sources" for p in pages)
732
733 def test_excludes_excluded_files(self, tmp_path):
734 wiki = _make_wiki(tmp_path)
735 for name in _EXCLUDED_FILES:
736 (wiki / name).write_text("# excluded", encoding="utf-8")
737
738 pages = _load_wiki_pages(wiki)
739
740 assert not any(p.name in _EXCLUDED_FILES for p in pages)
741
742 def test_includes_summaries_concepts_entities(self, tmp_path):
743 wiki = _make_wiki(tmp_path)

Callers

nothing calls this directly

Calls 2

_load_wiki_pagesFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected