diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-03-17 12:54:32 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-03-17 19:58:34 +0100 |
commit | 3d16042c9208c80b984b65cf90d1738a4c295bcc (patch) | |
tree | fab0bff1d997f125e2c92ceaa4d0d6d03c67e427 /tests/test-qmp-event.c | |
parent | ef9f5f0d59471dbd5c0764fec67c982d95f4de20 (diff) |
tests/test-qmp-cmds: Simplify test data setup
Building requests with qdict_put() & friends is tedious to write and
hard to read. Parse them from string literals with
qdict_from_vjsonf_nofail() instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20200317115459.31821-8-armbru@redhat.com>
Diffstat (limited to 'tests/test-qmp-event.c')
0 files changed, 0 insertions, 0 deletions