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

Method test_idempotent

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

Source from the content-addressed store, hash-verified

2205 assert "[[summaries/doc]]" in text
2206
2207 def test_idempotent(self, tmp_path):
2208 self._seed(tmp_path)
2209 _backlink_summary_entities(tmp_path, "doc", ["anthropic"])
2210 _backlink_summary_entities(tmp_path, "doc", ["anthropic"])
2211 text = (tmp_path / "summaries" / "doc.md").read_text(encoding="utf-8")
2212 assert text.count("[[entities/anthropic]]") == 1
2213
2214
2215class TestRemoveEntityPages:

Callers

nothing calls this directly

Calls 2

_seedMethod · 0.95

Tested by

no test coverage detected