File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
graphdatascience/tests/unit/procedure_surface/cypher Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -192,34 +192,3 @@ def test_estimate_with_projection_config() -> None:
192
192
193
193
assert len (query_runner .queries ) == 1
194
194
assert "gds.eigenvector.stats.estimate" in query_runner .queries [0 ]
195
-
196
-
197
- def test_estimate_with_algorithm_config () -> None :
198
- query_runner = CollectingQueryRunner (
199
- DEFAULT_SERVER_VERSION , {"eigenvector.stats.estimate" : pd .DataFrame ([estimate_mock_result ()])}
200
- )
201
-
202
- projection_config = {
203
- "nodeProjection" : "*" ,
204
- "relationshipProjection" : "*" ,
205
- }
206
-
207
- EigenvectorCypherEndpoints (query_runner ).estimate (
208
- projection_config ,
209
- max_iterations = 20 ,
210
- tolerance = 0.0001 ,
211
- relationship_types = ["REL" ],
212
- node_labels = ["Person" ],
213
- concurrency = 4 ,
214
- )
215
-
216
- assert len (query_runner .queries ) == 1
217
- assert "gds.eigenvector.stats.estimate" in query_runner .queries [0 ]
218
- params = query_runner .params [0 ]
219
- assert params ["algoConfig" ] == {
220
- "maxIterations" : 20 ,
221
- "tolerance" : 0.0001 ,
222
- "relationshipTypes" : ["REL" ],
223
- "nodeLabels" : ["Person" ],
224
- "concurrency" : 4 ,
225
- }
You can’t perform that action at this time.
0 commit comments