# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224225358 25200
# Node ID 4d284efac99979c0f53a642b676a793535aa9767
# Parent 69fe94b1348985a337d385865d7522c78f57e116
[TEST]#2 Modify RASD/02_enum.py to call new EnumInstances
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 69fe94b13489 -r 4d284efac999 suites/libvirt-cim/cimtest/RASD/02_enum.py
--- a/suites/libvirt-cim/cimtest/RASD/02_enum.py Thu Oct 16 03:14:27 2008 -0700
+++ b/suites/libvirt-cim/cimtest/RASD/02_enum.py Thu Oct 16 23:35:58 2008 -0700
@@ -68,7 +68,7 @@ def get_rasd_values(classname, virt, ser
status = PASS
rasd_list = []
try:
- rasd_list = enumclass.enumerate_inst(server, classname, virt)
+ rasd_list = enumclass.EnumInstances(server, classname, ret_cim_inst=True)
if len(rasd_list) < 1:
logger.error("%s returned %i instances, excepted at least 1.",
classname, len(rasd_list))
Show replies by date