diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-12-20 19:19:20 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-12-20 19:23:16 +0100 |
commit | f4e49ae7753901336814ccbd26003ac229440f5b (patch) | |
tree | 1447ceb7af149a87b6d43d8a51750cf3d9d89a09 /functest/utils | |
parent | ed9c3b0b4aaa751e298aed6c52f56d2a0319c70d (diff) |
Remove logger_test_results
It was only called in Feature which the result is already printed
(see __str__()).
It also eases moving Feature to xtesting as it breaks the link to
functest_utils.
Change-Id: Ib72d651dc7d89598704ff4d52d8b1ecb2bdade5b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/utils')
-rw-r--r-- | functest/utils/functest_utils.py | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/functest/utils/functest_utils.py b/functest/utils/functest_utils.py index 6c502ebc..6d0b345d 100644 --- a/functest/utils/functest_utils.py +++ b/functest/utils/functest_utils.py @@ -90,39 +90,6 @@ def get_version(): return "unknown" -def logger_test_results(project, case_name, status, details): - """ - Format test case results for the logger - """ - pod_name = CONST.__getattribute__('NODE_NAME') - scenario = CONST.__getattribute__('DEPLOY_SCENARIO') - version = get_version() - build_tag = CONST.__getattribute__('BUILD_TAG') - db_url = CONST.__getattribute__("results_test_db_url") - - logger.info( - "\n" - "****************************************\n" - "\t %(p)s/%(n)s results \n\n" - "****************************************\n" - "DB:\t%(db)s\n" - "pod:\t%(pod)s\n" - "version:\t%(v)s\n" - "scenario:\t%(s)s\n" - "status:\t%(c)s\n" - "build tag:\t%(b)s\n" - "details:\t%(d)s\n" - % {'p': project, - 'n': case_name, - 'db': db_url, - 'pod': pod_name, - 'v': version, - 's': scenario, - 'c': status, - 'b': build_tag, - 'd': details}) - - @decorators.can_dump_request_to_file def push_results_to_db(project, case_name, start_date, stop_date, result, details): |