summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Hrdina <phrdina@redhat.com>2015-01-19 16:16:10 +0100
committerPavel Hrdina <phrdina@redhat.com>2015-01-19 16:16:10 +0100
commit1180fa98933cc4748bcb4fde1da2ca17522a7107 (patch)
treef4b7eed11858fe88e1068bd509dc8784a092ace0
parentab6eb69f8dc8c9c7600fd5694c0b01c7cad9ba04 (diff)
downloadlibvirt-python-1180fa98933cc4748bcb4fde1da2ca17522a7107.tar.gz
sanitytest: fix mapping test for virDomainDefineXMLFlagsv1.2.12
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>
-rw-r--r--sanitytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanitytest.py b/sanitytest.py
index 9907f3d..f021e5a 100644
--- a/sanitytest.py
+++ b/sanitytest.py
@@ -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