]> git.ipfire.org Git - thirdparty/qemu.git/commit
python/aqmp: add AsyncProtocol unit tests
authorJohn Snow <jsnow@redhat.com>
Wed, 15 Sep 2021 16:29:53 +0000 (12:29 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 27 Sep 2021 16:10:29 +0000 (12:10 -0400)
commita1f71b61ea763b5ac7429940018c1bb697889e56
treef6624d890391301ea795644efad83336b9dc5923
parent4320f7172f66d573e31cb7ab697bca3bd3030f16
python/aqmp: add AsyncProtocol unit tests

This tests most of protocol.py -- From a hacked up Coverage.py run, it's
at about 86%. There's a few error cases that aren't very well tested
yet, they're hard to induce artificially so far. I'm working on it.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20210915162955.333025-26-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
python/tests/protocol.py [new file with mode: 0644]