# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1224224874 25200
# Node ID 6e3cf406d47a68b3cb1c95f2747842fa9f1b452e
# Parent 69fe94b1348985a337d385865d7522c78f57e116
[TEST] #2 Update VirtualSystemMigrationSettingData/01_enum.py to call new EnumInstances
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 69fe94b13489 -r 6e3cf406d47a
suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Thu Oct 16
03:14:27 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Thu Oct 16
23:27:54 2008 -0700
@@ -45,9 +45,7 @@ def main():
priority = 0
try:
- vsmsd = enumclass.enumerate_inst(options.ip,
- "VirtualSystemMigrationSettingData",
- options.virt)
+ vsmsd = enumclass.EnumInstances(options.ip, cn, ret_cim_inst=True)
except Exception, detail:
logger.error(CIM_ERROR_ENUMERATE, cn)
logger.error("Exception: %s", detail)
Show replies by date