diff options
| author | Markus Armbruster <armbru@redhat.com> | 2020-03-17 12:54:33 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2020-03-17 19:58:34 +0100 |
| commit | 3ecc3932cce98d12dfd0e5341b1b554aee977e66 (patch) | |
| tree | edb68f6dd3bf263cf3b89decb3a576992901c0cb /scripts/qapi/visit.py | |
| parent | 3d16042c9208c80b984b65cf90d1738a4c295bcc (diff) | |
| download | focaccia-qemu-3ecc3932cce98d12dfd0e5341b1b554aee977e66.tar.gz focaccia-qemu-3ecc3932cce98d12dfd0e5341b1b554aee977e66.zip | |
tests/test-qmp-event: Simplify test data setup
Building expected data with qdict_put() & friends is tedious to write and hard to read. Parse them from string literals with qdict_from_jsonf_nofail() instead. While there, use initializers instead of assignments for initializing aggregate event arguments. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200317115459.31821-9-armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/visit.py')
0 files changed, 0 insertions, 0 deletions