mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-06 14:13:28 -06:00
uitests: Add some virtManager coverage exclusions
This commit is contained in:
parent
1194f09968
commit
8eb37c0e50
@ -653,7 +653,7 @@ class vmmConnection(vmmGObject):
|
||||
# This event is triggered when deleting external snapshots and it changes
|
||||
# shutoff VM into paused and makes that VM unusable until virt-manager is
|
||||
# restarted so we need to ignore it in case VM is shutoff.
|
||||
if obj.is_shutoff():
|
||||
if obj.is_shutoff(): # pragma: no cover
|
||||
log.debug("received agent lifecycle event but domain is shutoff, ignoring it")
|
||||
return
|
||||
|
||||
|
@ -410,7 +410,7 @@ class vmmHostStorage(vmmGObjectUI):
|
||||
for vol in vols:
|
||||
try:
|
||||
paths.append(vol.get_target_path())
|
||||
except Exception:
|
||||
except Exception: # pragma: no cover
|
||||
log.debug("Error getting target path for '%s'", vol, exc_info=True)
|
||||
paths.append(None)
|
||||
names_list = DeviceDisk.paths_in_use_by(pool.conn.get_backend(), paths)
|
||||
|
Loading…
Reference in New Issue
Block a user