dataimport/test/test_massive_store.py
changeset 10857 aa490912d9da
parent 10855 cd91f46fa633
child 10858 1a3e56e346d2
--- a/dataimport/test/test_massive_store.py	Wed Oct 21 20:17:44 2015 +0200
+++ b/dataimport/test/test_massive_store.py	Wed Oct 21 20:19:11 2015 +0200
@@ -172,7 +172,7 @@
             cnx.commit()
         with self.admin_access.repo_cnx() as cnx:
             crs = cnx.system_sql("SELECT * FROM entities_id_seq")
-            self.assertTrue(crs.fetchone() > 50000)
+            self.assertTrue(crs.fetchone()[0] > 50000)
 
     def test_eid_entity(self):
         with self.admin_access.repo_cnx() as cnx: