[libvirt] [PATCH python] tests: add special case for virStoragePoolLookupByTargetPath

Daniel P. Berrangé posted 1 patch 6 years, 2 months ago
Failed in applying to current master (apply log)
sanitytest.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[libvirt] [PATCH python] tests: add special case for virStoragePoolLookupByTargetPath
Posted by Daniel P. Berrangé 6 years, 2 months ago
This new API trips up the sanity test for checking mapping of
all C APIs into Python.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as build fix.

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

diff --git a/sanitytest.py b/sanitytest.py
index 1d65e8d..190d32b 100644
--- a/sanitytest.py
+++ b/sanitytest.py
@@ -258,7 +258,8 @@ for name in sorted(basicklassmap):
                 "LookupByUUIDString", "LookupByVolume" "LookupByName",
                 "LookupByID", "LookupByName", "LookupByKey", "LookupByPath",
                 "LookupByMACString", "LookupByUsage", "LookupByVolume",
-                "LookupSCSIHostByWWN", "Restore", "RestoreFlags",
+                "LookupByTargetPath","LookupSCSIHostByWWN",
+                "Restore", "RestoreFlags",
                 "SaveImageDefineXML", "SaveImageGetXMLDesc", "DefineXMLFlags"]:
         if klass != "virDomain":
             func = klass[3:] + func
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list