mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-07-29 19:41:52 +03:00
sanitytest: fix mapping test for virDomainDefineXMLFlags
The libvirt API has in the name "virDomain" but it's correctly mapped into "virConnect" class. Create an exception in the sanity test. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@ -230,7 +230,7 @@ for name in sorted(basicklassmap):
|
||||
"LookupByID", "LookupByName", "LookupByKey", "LookupByPath",
|
||||
"LookupByMACString", "LookupByUsage", "LookupByVolume",
|
||||
"LookupSCSIHostByWWN", "Restore", "RestoreFlags",
|
||||
"SaveImageDefineXML", "SaveImageGetXMLDesc"]:
|
||||
"SaveImageDefineXML", "SaveImageGetXMLDesc", "DefineXMLFlags"]:
|
||||
if klass != "virDomain":
|
||||
func = klass[3:] + func
|
||||
|
||||
|
Reference in New Issue
Block a user