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:
168168
169169
170170def 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 )
172173 bookmarks_from_standard = gds .last_bookmarks ()
173174 gds .set_bookmarks (bookmarks_from_standard )
174175
175176 assert bookmarks_from_standard is not None
176177
177- gds .run_cypher ("RETURN true" , retryable = True )
178+ gds .run_cypher (query , retryable = True )
178179 bookmarks_from_retryable = gds .last_bookmarks ()
179180
180181 assert bookmarks_from_retryable is not None
181182 assert bookmarks_from_retryable != bookmarks_from_standard
182183
183184 gds .set_bookmarks (bookmarks_from_retryable )
184185
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 )
187188
188189
189190def test_server_version (gds : GraphDataScience ) -> None :
You can’t perform that action at this time.
0 commit comments