Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Committed-by: xiaolei.zl from Dev container
  • Loading branch information
zhanglei1949 committed Oct 18, 2024
1 parent 75e8299 commit 6df7e6e
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,14 @@ def test_list_jobs(interactive_session, create_vertex_only_modern_graph):

resp = interactive_session.list_jobs()
assert resp.is_ok() and len(resp.get_value()) > 0



def test_call_proc_in_cypher(interactive_session, neo4j_session, create_modern_graph):
print("[Test call procedure in cypher]")
import_data_to_full_modern_graph(interactive_session, create_modern_graph)
result = neo4j_session.run('MATCH(p: person) with p.id as oid CALL k_neighbors("person", oid, 1) return label_name, vertex_oid;')
result = neo4j_session.run(
'MATCH(p: person) with p.id as oid CALL k_neighbors("person", oid, 1) return label_name, vertex_oid;'
)
cnt = 0
for record in result:
cnt += 1
Expand Down

0 comments on commit 6df7e6e

Please sign in to comment.