# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224122626 25200
# Node ID 7a32f75318dedb2743e039cebcf8081cd9524565
# Parent 96d45b1dcc0801ade819413abe1af43b3957dde4
[TEST] Modify VirtualSystemSnapshotService/01_enum.py to call new EnumNames
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 96d45b1dcc08 -r 7a32f75318de
suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py Wed Oct 15
06:07:28 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py Wed Oct 15
19:03:46 2008 -0700
@@ -50,9 +50,7 @@ def main():
if status != PASS:
return status
try:
- vs_sservice = enumclass.enumerate_inst(options.ip,
- "VirtualSystemSnapshotService",
- options.virt)
+ vs_sservice = enumclass.EnumNames(options.ip, cn)
except Exception, detail:
logger.error(CIM_ERROR_ENUMERATE, cn)
logger.error("Exception: %s", detail)