# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224122934 25200
# Node ID f98155eef00a89404a49bbeab68d4aadea03eac1
# Parent 96d45b1dcc0801ade819413abe1af43b3957dde4
[TEST]Modify VirtualSystemManagementCapabilities/01_enum.py to call new EnumInstances
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 96d45b1dcc08 -r f98155eef00a
suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py Wed Oct 15
06:07:28 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemManagementCapabilities/01_enum.py Wed Oct 15
19:08:54 2008 -0700
@@ -47,11 +47,7 @@ def main():
sync_method_val = Set([ 1L, 2L, 3L, 5L, 6L, 7L ])
try:
- key_list = ["InstanceID"]
- vsmc = enumclass.enumerate(server,
- "VirtualSystemManagementCapabilities",
- key_list,
- options.virt)
+ vsmc = enumclass.EnumInstances(server, cn)
except Exception:
logger.error(CIM_ERROR_ENUMERATE, cn)
return FAIL