# HG changeset patch
# User Guolian Yun <yunguol(a)cn.ibm.com>
# Date 1228719139 28800
# Node ID 53c3639c9f6db35026fa06cfda94171ecef9d3ed
# Parent 701f3228bdfe740f4a504dce1dfab844c812b9d5
[TEST] Remove log info to the right place
Signed-off-by: Guolian Yun <yunguol(a)cn.ibm.com>
diff -r 701f3228bdfe -r 53c3639c9f6d
suites/libvirt-cim/cimtest/ElementConforms/01_forward.py
--- a/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Wed Dec 03 21:31:09 2008
-0800
+++ b/suites/libvirt-cim/cimtest/ElementConforms/01_forward.py Sun Dec 07 22:52:19 2008
-0800
@@ -93,13 +93,14 @@
if assoc_val.items() == ele.items():
managed_ele_values[cn].remove(ele)
return PASS, managed_ele_values
+ else:
+ logger.error("%s not in expected list %s", assoc_val,
elements)
+ return FAIL, managed_ele_values
except Exception, details:
logger.error("verify_fields() exception: %s", details)
return FAIL, managed_ele_values
- logger.error("%s not in expected list %s", assoc_val, elements)
- return FAIL, managed_ele_values
def get_proflist(server, reg_classname, virt):
profiles_instid_list = []