[Libvirt-cim] [PATCH] [TEST] fix VirtualSystemSnapshotServiceCapabilities.02 to reflect the recent lib changes

Guo Lian Yun yunguol at cn.ibm.com
Wed Apr 9 05:44:40 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1207719860 25200
# Node ID 23b6feafdf89d992a636793bf6ec9d0c621bf69c
# Parent  262153788503c8b10c76c77719bba081df9a7b88
[TEST] fix VirtualSystemSnapshotServiceCapabilities.02 to reflect the recent lib changes

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

diff -r 262153788503 -r 23b6feafdf89 suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py
--- a/suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py	Tue Apr 08 17:58:44 2008 +0530
+++ b/suites/libvirt-cim/cimtest/VirtualSystemSnapshotServiceCapabilities/01_enum.py	Tue Apr 08 22:44:20 2008 -0700
@@ -42,9 +42,8 @@ def main():
 
     try:
         vs_sservicecap = enumclass.enumerate_inst(options.ip,
-                                         eval('enumclass.' + \
-                                               get_typed_class(options.virt, \
-                                            "VirtualSystemSnapshotServiceCapabilities")))
+                                                  "VirtualSystemSnapshotServiceCapabilities",
+                                                  options.virt)
     except Exception, detail:
         logger.error(CIM_ERROR_ENUMERATE, cn)
         logger.error("Exception: %s", detail)




More information about the Libvirt-cim mailing list