MCPcopy
hub / github.com/tirth8205/code-review-graph / test_remove_node

Method test_remove_node

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

Source from the content-addressed store, hash-verified

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
149class TestLocalEmbeddingProviderModelName:

Callers

nothing calls this directly

Calls 3

remove_nodeMethod · 0.95
closeMethod · 0.95
EmbeddingStoreClass · 0.90

Tested by

no test coverage detected