Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleaned up a test

  • Loading branch information...
commit c9d205ece8556763dc79fb97320e17f16e62d4cb 1 parent ac6b371
@jakewins jakewins authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 python-embedded/src/test/python/cypher.py
View
5 python-embedded/src/test/python/cypher.py
@@ -85,16 +85,15 @@ def test_parameterized_query(self):
self.assertEquals(0, node.id)
- def test_resultset_length(self):
+ def test_resultset_to_list(self):
db = self.graphdb
result = db.query("START n=node({id}) RETURN n",id=0)
- #length = len(result)
rows = list(result)
- #self.assertEquals(1, length)
self.assertEquals(1, len(rows))
+ self.assertEquals(0, rows[0]['n'].id)
def test_prepared_queries(self):
db = self.graphdb
Please sign in to comment.
Something went wrong with that request. Please try again.