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

Function test_collect_diagnostics_flags_kb_present

tests/test_feedback.py:131–138  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

129
130
131def test_collect_diagnostics_flags_kb_present(tmp_path):
132 class _Ctx:
133 obj = None
134
135 with patch("openkb.cli._find_kb_dir", return_value=tmp_path):
136 info = _collect_feedback_diagnostics(_Ctx())
137
138 assert info["kb_initialised"] == "yes"
139
140
141# ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

_CtxClass · 0.85

Tested by

no test coverage detected