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

Function _make_kb

tests/test_generator.py:17–22  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

15
16
17def _make_kb(tmp_path):
18 (tmp_path / ".openkb").mkdir()
19 (tmp_path / ".openkb" / "config.yaml").write_text("model: gpt-4o-mini\n")
20 (tmp_path / "wiki").mkdir()
21 (tmp_path / "wiki" / "index.md").write_text("# index\n")
22 return tmp_path
23
24
25def test_generator_rejects_unknown_target_type(tmp_path):

Calls

no outgoing calls

Tested by

no test coverage detected