[Libvirt-cim] [PATCH] [TEST] Update Profile/02_profile_to_elec.py to call new EnumNames

yunguol at cn.ibm.com yunguol at cn.ibm.com
Thu Oct 16 07:02:38 UTC 2008


# HG changeset patch
# User Guolian Yun <yunguol at cn.ibm.com>
# Date 1224140552 25200
# Node ID 0167493d2ce4cad2c09d572964844f199555fcb4
# Parent  96d45b1dcc0801ade819413abe1af43b3957dde4
[TEST] Update Profile/02_profile_to_elec.py to call new EnumNames

This tc updates fails for me, I look into this but I can't work it out.


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

diff -r 96d45b1dcc08 -r 0167493d2ce4 suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py
--- a/suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py	Wed Oct 15 06:07:28 2008 -0700
+++ b/suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py	Thu Oct 16 00:02:32 2008 -0700
@@ -95,7 +95,7 @@ def get_profile(server, virt):
     profile = None
 
     try:
-        proflist = enumclass.enumerate_inst(server, 'RegisteredProfile', virt)
+        proflist = enumclass.EnumNames(server, cn)
         status, profile = get_expected_inst(cn, proflist, 'RegisteredName',
                                             registeredname)
     except Exception, detail:




More information about the Libvirt-cim mailing list