(self, tmp_path)
| 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" |
nothing calls this directly
no test coverage detected