[libvirt] [python PATCH] sanitytest: fix mapping test for virDomainDefineXMLFlags

Pavel Hrdina phrdina at redhat.com
Mon Jan 19 15:21:24 UTC 2015


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 at redhat.com>
---

Pushed as build(test) breaker.

 sanitytest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
 
-- 
2.0.5




More information about the libvir-list mailing list