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

Method test_summary_counts_as_entry

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

Source from the content-addressed store, hash-verified

162 assert "unprocessed.pdf" in result
163
164 def test_summary_counts_as_entry(self, tmp_path):
165 wiki = _make_wiki(tmp_path)
166 raw = tmp_path / "raw"
167 raw.mkdir()
168 (raw / "longdoc.pdf").write_bytes(b"PDF")
169 (wiki / "summaries" / "longdoc.md").write_text("# Long doc summary")
170
171 result = find_missing_entries(raw, wiki)
172
173 assert "longdoc.pdf" not in result
174
175 def test_empty_raw_means_no_missing(self, tmp_path):
176 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