Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-markewich committed Jan 22, 2025
1 parent 00bfffa commit 113a239
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,13 @@ def test_memgraph_pg_store(pg_store: MemgraphPropertyGraphStore) -> None:
label="PERSON", name="Logan", properties={"age": 28, "location": "Canada"}
)
pg_store.upsert_nodes([new_node])

# Assert the node has been updated with the new property
kg_nodes = pg_store.get(properties={"age": 28})

# Test deleting nodes from Memgraph.
pg_store.delete(ids=[source_node.node_id])
pg_store.delete(ids=[entity1.id, entity2.id])

# Assert the nodes have been deleted
pg_store.get(ids=[entity1.id, entity2.id])

0 comments on commit 113a239

Please sign in to comment.