File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
graphdatascience/tests/integration Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -168,22 +168,23 @@ def test_run_read_cypher(gds: GraphDataScience) -> None:
168
168
169
169
170
170
def test_run_cypher_with_bookmarks (gds : GraphDataScience ) -> None :
171
- gds .run_cypher ("RETURN true" )
171
+ query = "CREATE (n: Node) RETURN n"
172
+ gds .run_cypher (query )
172
173
bookmarks_from_standard = gds .last_bookmarks ()
173
174
gds .set_bookmarks (bookmarks_from_standard )
174
175
175
176
assert bookmarks_from_standard is not None
176
177
177
- gds .run_cypher ("RETURN true" , retryable = True )
178
+ gds .run_cypher (query , retryable = True )
178
179
bookmarks_from_retryable = gds .last_bookmarks ()
179
180
180
181
assert bookmarks_from_retryable is not None
181
182
assert bookmarks_from_retryable != bookmarks_from_standard
182
183
183
184
gds .set_bookmarks (bookmarks_from_retryable )
184
185
185
- gds .run_cypher ("RETURN true" , retryable = True )
186
- gds .run_cypher ("RETURN true" , retryable = False )
186
+ gds .run_cypher (query , retryable = True )
187
+ gds .run_cypher (query , retryable = False )
187
188
188
189
189
190
def test_server_version (gds : GraphDataScience ) -> None :
You can’t perform that action at this time.
0 commit comments