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