summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuyang <Gabriel.yuyang@huawei.com>2017-06-05 10:44:21 +0800
committerYu Yang (Gabriel) <Gabriel.yuyang@huawei.com>2017-06-19 02:50:07 +0000
commit46bbb96e0ea5f6555d893cd6f82ad7b52657dcbe (patch)
tree11c95c9e67cd0550bdc2e3a221f39d3739246fe8
parent012e74627d6a77ba751cc80543db7c27e224f922 (diff)
Remove redundant print functions
JIRA: BOTTLENECK-158 Remove redundant print functions for report log Change-Id: I35c43fd3e30090bc296823faca55b49c0431a1fb Signed-off-by: yuyang <Gabriel.yuyang@huawei.com> (cherry picked from commit 6de46e9144ee0bc2962460c600e4b3a888d934ef)
-rwxr-xr-xtestsuites/posca/run_posca.py3
1 files changed, 0 insertions, 3 deletions
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)