[PATCH] [TEST] #2 Update Profile/02_profile_to_elec.py to call new EnumInstance

# HG changeset patch # User Guolian Yun <yunguol@cn.ibm.com> # Date 1224225202 25200 # Node ID 52f1f293e454d4836d0a44ad4026b0b106c8c7af # Parent 69fe94b1348985a337d385865d7522c78f57e116 [TEST] #2 Update Profile/02_profile_to_elec.py to call new EnumInstance Signed-off-by: Guolian Yun <yunguol@cn.ibm.com> diff -r 69fe94b13489 -r 52f1f293e454 suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py --- a/suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py Thu Oct 16 03:14:27 2008 -0700 +++ b/suites/libvirt-cim/cimtest/Profile/02_profile_to_elec.py Thu Oct 16 23:33:22 2008 -0700 @@ -95,7 +95,7 @@ def get_profile(server, virt): profile = None try: - proflist = enumclass.enumerate_inst(server, 'RegisteredProfile', virt) + proflist = enumclass.EnumInstances(server, cn, ret_cim_inst=True) status, profile = get_expected_inst(cn, proflist, 'RegisteredName', registeredname) except Exception, detail:
participants (1)
-
yunguol@cn.ibm.com