# HG changeset patch # User Sylvain Thénault # Date 1474970484 -7200 # Node ID 43c5b3f31a3aa8e5e1a9ec22b3b2823877ed7aaf # Parent 54b1c8881f1efbb0626b78a6b2fda2fcdba68abd [flake8] cubicweb/dataimport/test/test_massive_store.py is now flake8 friendly diff -r 54b1c8881f1e -r 43c5b3f31a3a cubicweb/dataimport/test/test_massive_store.py --- 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) diff -r 54b1c8881f1e -r 43c5b3f31a3a tox.ini --- 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,