Skip to content

Commit

Permalink
fixed test tugraph store;
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSkyLi committed Aug 15, 2024
1 parent 91880fa commit 7229734
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/intetration_tests/graph_store/test_tugraph_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,10 @@ def test_insert_graph(store):
store.insert_graph(graph)

def test_stream_query(store):
query = 'MATCH p=(n)-[r]-(m) WHERE n._community_id = 1 RETURN n,r,m,p'
query = 'MATCH (n)-[r]-(m) WHERE n._community_id = 1 RETURN n,r,m'
store.stream_query(query)
for record in store.stream_query(query):
for node in record.vertices():
pass
# print(node)
print(node)
for edge in record.edges():
pass
# print(edge)
print(edge)

0 comments on commit 7229734

Please sign in to comment.