From: yuyang Date: Mon, 5 Jun 2017 02:44:21 +0000 (+0800) Subject: Remove redundant print functions X-Git-Tag: opnfv-5.0.0~32 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=commitdiff_plain;h=6de46e9144ee0bc2962460c600e4b3a888d934ef Remove redundant print functions JIRA: BOTTLENECK-158 Remove redundant print functions for report log Change-Id: I35c43fd3e30090bc296823faca55b49c0431a1fb Signed-off-by: yuyang --- diff --git a/testsuites/posca/run_posca.py b/testsuites/posca/run_posca.py index bd979b67..b1dba140 100755 --- a/testsuites/posca/run_posca.py +++ b/testsuites/posca/run_posca.py @@ -63,15 +63,12 @@ def report(testcase, start_date, stop_date, criteria, details_doc): try: LOG.debug('Test result : %s', jsonutils.dump_as_bytes(results)) - print ('Start posting test results to community MongoDB') res = requests.post(target, data=jsonutils.dump_as_bytes(results), headers=headers, timeout=timeout) LOG.debug('Test result posting finished with status code' ' %d.' % res.status_code) - print ('Test results posting finished with status code' - ' %d.' % res.status_code) except Exception as err: LOG.exception('Failed to record result data: %s', err)