[Libvirt-cim] [PATCH] [TEST] fix argument error in VirtualSystemSnapshotService.01, update to reflect the recent lib changes

Guo Lian Yun yunguol at cn.ibm.com
Tue Apr 8 02:17:57 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1207621070 25200
# Node ID 0b6d22b9d4b6d32e129893c96132a5f1a7489ffd
# Parent  851b6729397e782b7ac6fbadee849ee7da9b16d3
[TEST] fix argument error in VirtualSystemSnapshotService.01, update to reflect the recent lib changes

Signed-off-by: Guolian Yun <yunguol at cn.ibm.com>

diff -r 851b6729397e -r 0b6d22b9d4b6 suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py	Mon Apr 07 08:27:46 2008 -0700
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSnapshotService/01_enum.py	Mon Apr 07 19:17:50 2008 -0700
@@ -45,9 +45,8 @@ def main():
         return status
     try:
         vs_sservice = enumclass.enumerate_inst(options.ip,
-                                         eval('enumclass.' + \
-                                               get_typed_class(options.virt, \
-                                             "VirtualSystemSnapshotService")))
+                                               "VirtualSystemSnapshotService",
+                                               options.virt)
     except Exception, detail:
         logger.error(CIM_ERROR_ENUMERATE, cn)
         logger.error("Exception: %s", detail)




More information about the Libvirt-cim mailing list