# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1207634991 25200
# Node ID e18737bad0e695f010045c5ed44ff36f6fb03ec4
# Parent 851b6729397e782b7ac6fbadee849ee7da9b16d3
[TEST] fix argument to reflect the lib changes
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 851b6729397e -r e18737bad0e6
suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Mon Apr 07
08:27:46 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemMigrationSettingData/01_enum.py Mon Apr 07
23:09:51 2008 -0700
@@ -45,9 +45,8 @@ def main():
try:
vsmsd = enumclass.enumerate_inst(options.ip,
- eval('enumclass.' + \
- get_typed_class(options.virt, \
- "VirtualSystemMigrationSettingData")))
+ "VirtualSystemMigrationSettingData",
+ options.virt)
except Exception, detail:
logger.error(CIM_ERROR_ENUMERATE, cn)
logger.error("Exception: %s", detail)
Show replies by date