MCPcopy
hub / github.com/zakirkun/deep-eye / test_build_missing_db

Method test_build_missing_db

tests/test_rag_index.py:93–97  ·  view source on GitHub ↗
(self, tmp_path, rag_config)

Source from the content-addressed store, hash-verified

91 assert len(rag._cve_meta) == 3
92
93 def test_build_missing_db(self, tmp_path, rag_config):
94 rag = CVERagIndex(rag_config)
95 result = rag.build(str(tmp_path / "nonexistent.db"), interactive=False)
96 assert result is False
97 assert not rag.is_loaded()
98
99 def test_build_empty_db(self, tmp_path, rag_config):
100 empty_db = tmp_path / "empty.db"

Callers

nothing calls this directly

Calls 3

buildMethod · 0.95
is_loadedMethod · 0.95
CVERagIndexClass · 0.90

Tested by

no test coverage detected