Skip to content
This repository
Browse code

Cleaned up a test

  • Loading branch information...
commit c9d205ece8556763dc79fb97320e17f16e62d4cb 1 parent ac6b371
Jacob Hansson authored

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  python-embedded/src/test/python/cypher.py
5  python-embedded/src/test/python/cypher.py
@@ -85,16 +85,15 @@ def test_parameterized_query(self):
85 85
         
86 86
         self.assertEquals(0, node.id)
87 87
 
88  
-    def test_resultset_length(self):
  88
+    def test_resultset_to_list(self):
89 89
         db = self.graphdb
90 90
 
91 91
         result = db.query("START n=node({id}) RETURN n",id=0)
92 92
 
93  
-        #length = len(result)
94 93
         rows  = list(result)
95 94
 
96  
-        #self.assertEquals(1, length)
97 95
         self.assertEquals(1, len(rows))
  96
+        self.assertEquals(0, rows[0]['n'].id)
98 97
         
99 98
     def test_prepared_queries(self):
100 99
         db = self.graphdb

0 notes on commit c9d205e

Please sign in to comment.
Something went wrong with that request. Please try again.