mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-06 14:13:28 -06:00
capabilities: Exclude a line from code coverage
updated test suite capabilities XML doesn't hit this line anymore. Just exclude it Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
e1468c04aa
commit
9813dc3b4f
@ -128,7 +128,7 @@ class _CapsGuest(XMLBuilder):
|
||||
for m in mobjs:
|
||||
ret.append(m.name)
|
||||
if m.canonical and m.canonical not in ret:
|
||||
ret.append(m.canonical)
|
||||
ret.append(m.canonical) # pragma: no cover
|
||||
return ret
|
||||
|
||||
def is_machine_alias(self, domain, src, tgt):
|
||||
|
Loading…
Reference in New Issue
Block a user