From: Morgan Richomme Date: Wed, 6 Jul 2016 08:35:37 +0000 (+0200) Subject: bug fix use FAIL/PASS as criteria for integration in automatic reporting X-Git-Tag: colorado.1.0~281 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F16425%2F1;p=functest.git bug fix use FAIL/PASS as criteria for integration in automatic reporting JIRA: FUNCTEST-355 Change-Id: I683107558b8f83e6de4244d55e6cfd93f0271db7 Signed-off-by: Morgan Richomme --- diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py index 946b0adf6..ef55506af 100644 --- a/testcases/features/doctor.py +++ b/testcases/features/doctor.py @@ -57,9 +57,9 @@ def main(): version = functest_utils.get_version(logger) build_tag = functest_utils.get_build_tag(logger) - status = "failed" + status = "FAIL" if details['status'] == "OK": - status = "passed" + status = "PASS" logger.info("Pushing Doctor results: TEST_DB_URL=%(db)s pod_name=%(pod)s " "version=%(v)s scenario=%(s)s criteria=%(c)s details=%(d)s" % {