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

# HG changeset patch # User Guolian Yun <yunguol@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@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)

Guo Lian Yun wrote:
# HG changeset patch # User Guolian Yun <yunguol@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@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)
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
+1. -- - Zhengang
participants (2)
-
Guo Lian Yun
-
Zhengang Li