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

Method test_excludes_sources_directory

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

Source from the content-addressed store, hash-verified

723 assert not any(p.parts[-2] == "reports" for p in pages)
724
725 def test_excludes_sources_directory(self, tmp_path):
726 wiki = _make_wiki(tmp_path)
727 (wiki / "sources" / "doc.md").write_text("# Source", encoding="utf-8")
728
729 pages = _load_wiki_pages(wiki)
730
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)

Callers

nothing calls this directly

Calls 2

_load_wiki_pagesFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected