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

Method test_finds_openkb_dir

tests/test_add_command.py:31–35  ·  view source on GitHub ↗
(self, tmp_path, monkeypatch)

Source from the content-addressed store, hash-verified

29
30class TestFindKbDir:
31 def test_finds_openkb_dir(self, tmp_path, monkeypatch):
32 (tmp_path / ".openkb").mkdir()
33 monkeypatch.chdir(tmp_path)
34 result = _find_kb_dir()
35 assert result is not None
36
37 def test_returns_none_if_no_openkb(self, tmp_path, monkeypatch):
38 monkeypatch.chdir(tmp_path)

Callers

nothing calls this directly

Calls 1

_find_kb_dirFunction · 0.90

Tested by

no test coverage detected