dataimport/test/test_massive_store.py
changeset 10880 5fb592895e0f
parent 10875 75d1b2d66f18
child 10907 9ae707db5265
--- a/dataimport/test/test_massive_store.py	Mon Nov 09 16:21:29 2015 +0100
+++ b/dataimport/test/test_massive_store.py	Mon Nov 09 16:43:50 2015 +0100
@@ -210,6 +210,8 @@
             store = MassiveObjectStore(cnx)
             self.push_geonames_data(osp.join(HERE, 'data/geonames.csv'), store)
             store.flush()
+            store.commit()
+            store.finish()
         with self.admin_access.repo_cnx() as cnx:
             rset = cnx.execute('Any X WHERE X is Location')
             self.assertEqual(len(rset), 4000)