nova/nova/tests
Balazs Gibizer aeb8de892b Add device event constants to fakelibvirt
The patch I92eb27b710f16d69cf003712431fe225a014c3a8 added the usage of
two new libvirt event constants but missed to add them also to the
fakelibvirt. This caused an extra warning to appear in a lot of unit
tests.

URI qemu:///system does not support events: module
'nova.tests.unit.virt.libvirt.fakelibvirt' has no attribute
'VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED'

The missing constants now added.

This change showed that the above patch also missed to adapt some of the
unit test to the registration of the two new events but this was masked
by the missing fakelibvirt change. So now the unit tests also adapted.

Change-Id: I926553e057ff4838d84244e6f4ef4f39e418788e
2021-03-05 18:01:52 +01:00
..
functional nova-manage: Add libvirt get_machine_type command 2021-03-03 14:03:49 +00:00
unit Add device event constants to fakelibvirt 2021-03-05 18:01:52 +01:00
__init__.py
fixtures.py Merge "tests: Poison os.uname" 2021-03-04 12:27:38 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00