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

Method test_skips_if_file_missing

tests/test_compiler.py:951–955  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

949 assert (summaries / "paper.md").read_text() == original
950
951 def test_skips_if_file_missing(self, tmp_path):
952 wiki = tmp_path / "wiki"
953 wiki.mkdir()
954 # Should not raise
955 _backlink_summary(wiki, "nonexistent", ["attention"])
956
957 def test_merges_into_existing_section(self, tmp_path):
958 """Second add should merge into existing ## Related Concepts, not duplicate."""

Callers

nothing calls this directly

Calls 1

_backlink_summaryFunction · 0.90

Tested by

no test coverage detected