From b3d01fe188cc5bb15ac3b4ddeaf319814890bcdb Mon Sep 17 00:00:00 2001 From: mio Date: Mon, 29 Mar 2021 17:06:33 +0800 Subject: [PATCH] Fix qltool test --- tests/test_qltool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_qltool.py b/tests/test_qltool.py index 391bba6b..193d92a7 100644 --- a/tests/test_qltool.py +++ b/tests/test_qltool.py @@ -37,7 +37,7 @@ class Qltool_Test(unittest.TestCase): raise RuntimeError("command '{}' return with error (code {}): {}".format(e.cmd, e.returncode, e.output)) def test_qltool_json(self): - create = [sys.executable, '../qltool', 'run', '-f','../examples/rootfs/x86_linux/bin/x86_hello','--rootfs', '../examples/rootfs/x86_linux','--output', 'False', '--json'] + create = [sys.executable, '../qltool', 'run', '-f','../examples/rootfs/x86_linux/bin/x86_hello','--rootfs', '../examples/rootfs/x86_linux','--verbose', '0', '--json'] try: subprocess.check_output(create, stderr=subprocess.STDOUT) except subprocess.CalledProcessError as e: