diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-05-17 15:01:19 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2022-06-08 16:43:52 +0100 |
commit | e3fab09382d4a6c439820ed5e6930e57716dcb50 (patch) | |
tree | 75bd89dbae775c6e0b255453a67dbde3a824f879 /libvirt-qemu-override-api.xml | |
parent | b9f79758c973db088b5c687425c6613796fdb250 (diff) | |
download | libvirt-python-e3fab09382d4a6c439820ed5e6930e57716dcb50.tar.gz |
tests: use mocks to allow calling virEventRegisterImpl many times
We currently have to run each of the test_aio.py test cases in a
separate process, because libvirt.virEventRegisterImpl can only be
called once per process. This leads to quite unpleasant console
output when running tests.
By introducing a mock for libvirt.virEventRegisterImpl we can
regain the ability to run everything in a single process. The only
caveat is that it relies on tests to fully cleanup, but in practice
this is ok for our current tests.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'libvirt-qemu-override-api.xml')
0 files changed, 0 insertions, 0 deletions