summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Ma <lma@suse.com>2022-11-10 15:57:43 +0800
committerCole Robinson <crobinso@redhat.com>2022-12-14 12:44:54 -0500
commitc313209455b2c5fd34560f469af4737a6c8e6fdb (patch)
treede448a7944ff88f6efe4b43b8b117080a3d73863
parent180154d752a33f6b26643184e6aa19dcb110e0eb (diff)
downloadvirt-manager-c313209455b2c5fd34560f469af4737a6c8e6fdb.tar.gz
tests: Add domcaps coverage for usb-redir/spicevmc channel checks
Signed-off-by: Lin Ma <lma@suse.com>
-rw-r--r--tests/test_capabilities.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_capabilities.py b/tests/test_capabilities.py
index d102e51b..70c9de6f 100644
--- a/tests/test_capabilities.py
+++ b/tests/test_capabilities.py
@@ -92,6 +92,8 @@ def testDomainCapabilitiesx86():
assert caps.supports_filesystem_virtiofs()
assert caps.supports_memorybacking_memfd()
+ assert caps.supports_redirdev_usb()
+ assert caps.supports_channel_spicevmc()
xml = open(DATADIR + "/kvm-x86_64-domcaps-amd-sev.xml").read()
caps = DomainCapabilities(utils.URIs.open_testdriver_cached(), xml)