Dump test CLI output as JSON, not as Python repr
Change-Id: Iafb2cb9e221c9c8cbfab22e0e3ef8151e4f100f1
This commit is contained in:
parent
f5977db1be
commit
469ae6c58e
|
@ -106,4 +106,4 @@ if __name__ == '__main__': # pragma: no cover
|
||||||
print('Error:', exc)
|
print('Error:', exc)
|
||||||
else:
|
else:
|
||||||
if res:
|
if res:
|
||||||
print(res)
|
print(json.dumps(res))
|
||||||
|
|
Loading…
Reference in New Issue