Skip to content

Commit

Permalink
Fix two queries used in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
versae committed Mar 29, 2014
1 parent 21a3e30 commit 7fd3d23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neo4jrestclient/tests/test_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def test_query_transaction_object(self):
tx = self.gdb.transaction(for_query=True)
tx.append("MERGE (a:Person {name:'Alice'})")
tx.append("MERGE (b:Person {name:'Bob'})")
tx.append("MATCH (lft { name: 'Alice' }),(rgt)"
"WHERE rgt.name IN ['Bob', 'Carl']"
"CREATE UNIQUE (lft)-[r:KNOWS]->(rgt)"
tx.append("MATCH (lft { name: 'Alice' }),(rgt) "
"WHERE rgt.name IN ['Bob', 'Carl'] "
"CREATE (lft)-[r:KNOWS]->(rgt) "
"RETURN r",
returns=client.Relationship)
results = tx.execute()
Expand Down Expand Up @@ -184,7 +184,7 @@ def test_query_transaction_rollback(self):
results = self.gdb.query(
"MATCH (lft { name: 'Alice' }),(rgt) "
"WHERE rgt.name IN ['Bob', 'Carl'] "
"CREATE (lft)-[r:KNOWS]->(rgt)"
"CREATE (lft)-[r:KNOWS]->(rgt) "
"RETURN r",
returns=client.Relationship
)
Expand Down

0 comments on commit 7fd3d23

Please sign in to comment.