--- a/cubicweb/dataimport/test/test_massive_store.py Tue Sep 27 12:00:42 2016 +0200
+++ b/cubicweb/dataimport/test/test_massive_store.py Tue Sep 27 12:01:24 2016 +0200
@@ -81,12 +81,12 @@
'alternatenames': infos[3],
'latitude': latitude, 'longitude': longitude,
'feature_class': feature_class,
- 'alternate_country_code':infos[9],
+ 'alternate_country_code': infos[9],
'admin_code_3': infos[12],
'admin_code_4': infos[13],
'population': population, 'elevation': elevation,
'gtopo30': gtopo, 'timezone': timezone_code.get(infos[17]),
- 'cwuri': u'http://sws.geonames.org/%s/' % int(infos[0]),
+ 'cwuri': u'http://sws.geonames.org/%s/' % int(infos[0]),
'geonameid': int(infos[0]),
}
store.prepare_insert_entity('Location', **entity)
@@ -229,7 +229,6 @@
def test_slave_mode_exception(self):
with self.admin_access.repo_cnx() as cnx:
- master_store = MassiveObjectStore(cnx, slave_mode=False)
slave_store = MassiveObjectStore(cnx, slave_mode=True)
self.assertRaises(RuntimeError, slave_store.finish)
--- a/tox.ini Tue Sep 27 12:00:42 2016 +0200
+++ b/tox.ini Tue Sep 27 12:01:24 2016 +0200
@@ -61,6 +61,7 @@
cubicweb/dataimport/test/data/schema.py,
cubicweb/dataimport/test/test_csv.py,
cubicweb/dataimport/test/test_pgstore.py,
+ cubicweb/dataimport/test/test_massive_store.py,
cubicweb/dataimport/test/test_stores.py,
cubicweb/dataimport/test/unittest_importer.py,
cubicweb/devtools/test/data/cubes/i18ntestcube/__init__.py,