aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-12-21 07:23:18 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-21 07:23:18 +0000
commitf09e17ef9b94d3cdb0b28340e08ce7966c500140 (patch)
tree60aa7c8bd84d90930178a2734fbacf588f12511a /functest/utils
parente57c5fa1fb21ecd8cde0947673e9c410a2d5fdd6 (diff)
parentf4e49ae7753901336814ccbd26003ac229440f5b (diff)
Merge "Remove logger_test_results"
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/functest_utils.py33
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):