summaryrefslogtreecommitdiff
path: root/virtManager/object
diff options
context:
space:
mode:
Diffstat (limited to 'virtManager/object')
-rw-r--r--virtManager/object/libvirtobject.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/virtManager/object/libvirtobject.py b/virtManager/object/libvirtobject.py
index 0dfe68b3..0c35dd4e 100644
--- a/virtManager/object/libvirtobject.py
+++ b/virtManager/object/libvirtobject.py
@@ -174,6 +174,9 @@ class vmmLibvirtObject(vmmGObject):
initialize_failed = False
try:
+ if self.config.CLITestOptions.object_blacklist == self._name:
+ raise RuntimeError("fake initialization error")
+
self._init_libvirt_state()
except Exception: # pragma: no cover
log.debug("Error initializing libvirt state for %s", self,