[Libvirt-cim] [PATCH] [TEST] Update VirtualSystemSnapshotServiceCapabilities to call new EnumNames

yunguol at cn.ibm.com yunguol at cn.ibm.com
Mon Oct 13 09:08:27 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1223888901 25200
# Node ID ee167e13cc264b576786bcd83483df912db4a775
# Parent  c7eaf17bd591f313b93ff2b2087cee11b25789e0
[TEST] Update VirtualSystemSnapshotServiceCapabilities to call new EnumNames

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r c7eaf17bd591 -r ee167e13cc26 suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py	Fri Oct 10 03:08:12 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py	Mon Oct 13 02:08:21 2008 -0700
@@ -40,11 +40,9 @@
     # Expected results from enumeration
     cn       =  get_typed_class(options.virt, "VirtualSystemSnapshotServiceCapabilities")
     instid   = 'SnapshotCapabilities'
-
+    
     try:
-        vs_sservicecap = enumclass.enumerate_inst(options.ip,
-                                                  "VirtualSystemSnapshotServiceCapabilities",
-                                                  options.virt)
+        vs_sservicecap = enumclass.EnumNames(options.ip, cn)
     except Exception, detail:
         logger.error(CIM_ERROR_ENUMERATE, cn)
         logger.error("Exception: %s", detail)




More information about the Libvirt-cim mailing list