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

Method test_detects_missing_entry

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

Source from the content-addressed store, hash-verified

151 assert result == []
152
153 def test_detects_missing_entry(self, tmp_path):
154 wiki = _make_wiki(tmp_path)
155 raw = tmp_path / "raw"
156 raw.mkdir()
157 (raw / "unprocessed.pdf").write_bytes(b"PDF content")
158 # No corresponding wiki entry
159
160 result = find_missing_entries(raw, wiki)
161
162 assert "unprocessed.pdf" in result
163
164 def test_summary_counts_as_entry(self, tmp_path):
165 wiki = _make_wiki(tmp_path)

Callers

nothing calls this directly

Calls 2

find_missing_entriesFunction · 0.90
_make_wikiFunction · 0.70

Tested by

no test coverage detected