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

Function _make_registry

tests/test_remove.py:261–264  ·  view source on GitHub ↗
(tmp_path: Path, entries: dict[str, dict])

Source from the content-addressed store, hash-verified

259
260
261def _make_registry(tmp_path: Path, entries: dict[str, dict]) -> HashRegistry:
262 p = tmp_path / "hashes.json"
263 p.write_text(json.dumps(entries))
264 return HashRegistry(p)
265
266
267def test_resolve_identifier_exact_name_wins(tmp_path):

Calls 1

HashRegistryClass · 0.90

Tested by

no test coverage detected