--- 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():
--- 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