Dump test CLI output as JSON, not as Python repr

Change-Id: Iafb2cb9e221c9c8cbfab22e0e3ef8151e4f100f1
This commit is contained in:
Dmitry Tantsur 2015-01-16 17:04:05 +01:00
parent f5977db1be
commit 469ae6c58e
1 changed files with 1 additions and 1 deletions

View File

@ -106,4 +106,4 @@ if __name__ == '__main__': # pragma: no cover
print('Error:', exc)
else:
if res:
print(res)
print(json.dumps(res))