branch | 3.23 |
changeset 11422 | 63ac20ef558e |
parent 11176 | 4a43193ce7b0 |
child 11427 | 7d38eb1bcd1f |
--- a/cubicweb/devtools/test/unittest_devctl.py Tue Jul 05 10:44:05 2016 +0200 +++ b/cubicweb/devtools/test/unittest_devctl.py Tue Jul 05 13:27:19 2016 +0200 @@ -27,8 +27,7 @@ def newcube(directory, name): - cmd = [sys.executable, '-m' 'cubicweb', 'newcube', - '--directory', directory, name] + cmd = ['cubicweb-ctl', 'newcube', '--directory', directory, name] proc = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=STDOUT) stdout, _ = proc.communicate(b'short_desc\n') return proc.returncode, stdout