avocado.plugins.vm: Pass '-' to json plugin

So that the avocado command does produce its
intended output. Fixes a small bug introduced with
the simplification of the json and xunit plugins.
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 cc6d23a7
......@@ -68,7 +68,7 @@ class VMTestRunner(TestRunner):
:param urls: a string with test URLs.
:return: a dictionary with test results.
"""
avocado_cmd = 'avocado --json run --archive "%s"' % urls
avocado_cmd = 'avocado --json - run --archive "%s"' % urls
stdout = self.result.vm.remote.run(avocado_cmd)
try:
results = json.loads(stdout)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册