MCPcopy Index your code
hub / github.com/tirth8205/code-review-graph / test_count_empty

Method test_count_empty

tests/test_embeddings.py:117–122  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

115 store.close()
116
117 def test_count_empty(self, tmp_path):
118 db = tmp_path / "embeddings.db"
119 with patch("code_review_graph.embeddings.get_provider", return_value=None):
120 store = EmbeddingStore(db)
121 assert store.count() == 0
122 store.close()
123
124 def test_embed_nodes_returns_zero_when_unavailable(self, tmp_path):
125 db = tmp_path / "embeddings.db"

Callers

nothing calls this directly

Calls 3

countMethod · 0.95
closeMethod · 0.95
EmbeddingStoreClass · 0.90

Tested by

no test coverage detected