(self, tmp_path)
| 138 | store.close() |
| 139 | |
| 140 | def test_remove_node(self, tmp_path): |
| 141 | db = tmp_path / "embeddings.db" |
| 142 | with patch("code_review_graph.embeddings.get_provider", return_value=None): |
| 143 | store = EmbeddingStore(db) |
| 144 | # Should not raise even if node doesn't exist |
| 145 | store.remove_node("nonexistent::func") |
| 146 | store.close() |
| 147 | |
| 148 | |
| 149 | class TestLocalEmbeddingProviderModelName: |
nothing calls this directly
no test coverage detected