summaryrefslogtreecommitdiffstats
path: root/tests/qapi-schema/union-base-empty.err
Commit message (Collapse)AuthorAgeFilesLines
* qapi: Fix to reject empty union base gracefullyMarkus Armbruster2017-03-161-10/+1Star
| | | | | | | | | | Common Python pitfall: 'assert base_members' fires on [] in addition to None. Correct to 'assert base_members is not None'. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-10-git-send-email-armbru@redhat.com>
* tests/qapi-schema: Cover empty union baseMarkus Armbruster2017-03-161-0/+10
The new test case shows off qapi.py choking on an empty union base. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1489582656-31133-9-git-send-email-armbru@redhat.com>