
# HG changeset patch # User Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> # Date 1242628498 25200 # Node ID 6dc2d815e480237c91115cd0d86f6325503e33f7 # Parent 43fb40db432952d38509a76e92e61d7d3d3702f7 [TEST] Fixing SAE/01_forward.py SAE tc. Tested with KVM on F10 with current sources. Signed-off-by: Deepti B. Kalakeri <deeptik@linux.vnet.ibm.com> diff -r 43fb40db4329 -r 6dc2d815e480 suites/libvirt-cim/cimtest/ServiceAffectsElement/01_forward.py --- a/suites/libvirt-cim/cimtest/ServiceAffectsElement/01_forward.py Fri May 15 14:03:39 2009 -0700 +++ b/suites/libvirt-cim/cimtest/ServiceAffectsElement/01_forward.py Sun May 17 23:34:58 2009 -0700 @@ -115,7 +115,7 @@ assoc_insts = {} try: assoc_insts, status = get_dom_records(an, assoc_info, assoc_insts) - if status != PASS or len(assoc_insts) != 3: + if status != PASS or len(assoc_insts) < 1 : raise Exception("Failed to get insts for domain %s" % test_dom) in_list, status = init_list_for_compare(server, virt) @@ -124,7 +124,7 @@ in_list_keys = Set(in_list.keys()) assoc_list_keys = Set(assoc_insts.keys()) - if len(in_list_keys & assoc_list_keys) != 3: + if len(in_list_keys & assoc_list_keys) < 1 : raise Exception("Mistmatching Class Names, expected %s, got %s" \ % (in_list_keys, assoc_list_keys))