please ignore this patch .
I am submitting the same changes as part of another patchset.
Thanks and Regards,
Deepti.
Deepti B. Kalakeri wrote:
# HG changeset patch
# User Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
# Date 1208942359 -19800
# Node ID a291c9b8bc028f1c60dc6c2c78f0b8a31814b38c
# Parent 185f354355a16b74c2db57d18f6ef28c7ae2802c
[TEST] Moving the print_error field from tc to lib.
There are lot of tc which make use of the print_error function to
print the field error. Hence moved it to the lib .
Signed-off-by: Deepti B. Kalakeri <deeptik(a)linux.vnet.ibm.com>
diff -r 185f354355a1 -r a291c9b8bc02 suites/libvirt-cim/lib/XenKvmLib/common_util.py
--- a/suites/libvirt-cim/lib/XenKvmLib/common_util.py Wed Apr 23 14:05:09 2008 +0530
+++ b/suites/libvirt-cim/lib/XenKvmLib/common_util.py Wed Apr 23 14:49:19 2008 +0530
@@ -31,6 +31,10 @@ from XenKvmLib.classes import get_typed_
from XenKvmLib.classes import get_typed_class
from CimTest.Globals import logger, log_param, CIM_ERROR_ENUMERATE
from CimTest.ReturnCodes import PASS, FAIL, XFAIL_RC
+
+def print_field_error(fieldname, ret_value, exp_value):
+ logger.error("%s Mismatch", fieldname)
+ logger.error("Returned %s instead of %s", ret_value, exp_value)
def get_cs_instance(domain_name, ip, virt='Xen'):
try:
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim