diff options
author | yuyang <Gabriel.yuyang@huawei.com> | 2017-06-05 10:44:21 +0800 |
---|---|---|
committer | yuyang <Gabriel.yuyang@huawei.com> | 2017-06-05 10:44:21 +0800 |
commit | 6de46e9144ee0bc2962460c600e4b3a888d934ef (patch) | |
tree | 11c95c9e67cd0550bdc2e3a221f39d3739246fe8 /testsuites/posca | |
parent | e4a17446f0f02d6ea950278074d88db6c09c5bb6 (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>
Diffstat (limited to 'testsuites/posca')
-rwxr-xr-x | testsuites/posca/run_posca.py | 3 |
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) |