qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 25/25] python/aqmp: add AsyncProtocol unit tests


From: John Snow
Subject: Re: [PATCH v3 25/25] python/aqmp: add AsyncProtocol unit tests
Date: Wed, 4 Aug 2021 14:41:57 -0400


On Tue, Aug 3, 2021 at 2:31 PM John Snow <jsnow@redhat.com> wrote:
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>
---
 python/tests/null_proto.py |  70 +++++
 python/tests/protocol.py   | 535 +++++++++++++++++++++++++++++++++++++
 2 files changed, 605 insertions(+)
 create mode 100644 python/tests/null_proto.py
 create mode 100644 python/tests/protocol.py

diff --git a/python/tests/null_proto.py b/python/tests/null_proto.py
new file mode 100644
index 00000000000..c8cedea5942
--- /dev/null
+++ b/python/tests/null_proto.py

Whoops, forgot to delete this file after inlining it into the other test.

--js
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]