# HG changeset patch # User Sylvain Thénault # Date 1490779057 -7200 # Node ID 86ec847835cd1e030becdc22d30f43f6226d3e1f # Parent 707139a9eb00a2d23c044a98e6834467f4dd1a78 Fix flake8 errors in unittest_cwctl diff -r 707139a9eb00 -r 86ec847835cd cubicweb/test/unittest_cwctl.py --- a/cubicweb/test/unittest_cwctl.py Wed Mar 29 11:14:53 2017 +0200 +++ b/cubicweb/test/unittest_cwctl.py Wed Mar 29 11:17:37 2017 +0200 @@ -25,7 +25,6 @@ from mock import patch -from cubicweb.cwconfig import CubicWebConfiguration from cubicweb.cwctl import ListCommand from cubicweb.devtools.testlib import CubicWebTC from cubicweb.server.migractions import ServerMigrationHelper @@ -69,10 +68,11 @@ interactive=False, # hack so it don't try to load fs schema schema=1) - scripts = {'script1.py': list(), - 'script2.py': ['-v'], - 'script3.py': ['-vd', '-f', 'FILE.TXT'], - } + scripts = { + 'script1.py': list(), + 'script2.py': ['-v'], + 'script3.py': ['-vd', '-f', 'FILE.TXT'], + } mih.cmd_process_script(join(self.datadir, 'scripts', 'script1.py'), funcname=None) for script, args in scripts.items(): diff -r 707139a9eb00 -r 86ec847835cd flake8-ok-files.txt --- a/flake8-ok-files.txt Wed Mar 29 11:14:53 2017 +0200 +++ b/flake8-ok-files.txt Wed Mar 29 11:17:37 2017 +0200 @@ -85,6 +85,7 @@ cubicweb/test/data/views.py cubicweb/test/unittest_binary.py cubicweb/test/unittest_cwconfig.py +cubicweb/test/unittest_cwctl.py cubicweb/test/unittest_mail.py cubicweb/test/unittest_repoapi.py cubicweb/test/unittest_req.py