def testListByCaps(self, caps): devices = hostdev.list_by_caps( libvirtconnection.get().vmContainer, caps) for cap in caps: self.assertTrue(set(DEVICES_BY_CAPS[cap].keys()). issubset(devices.keys()))
def testListByCaps(self, caps): devices = hostdev.list_by_caps(caps) for cap in caps: self.assertTrue( set(DEVICES_BY_CAPS[cap].keys()).issubset(devices.keys()))
def testListByCaps(self, caps): devices = hostdev.list_by_caps(caps) for cap in caps: self.assertTrue(set(DEVICES_BY_CAPS[cap].keys()). issubset(devices.keys()))