From: Morgan Richomme Date: Mon, 11 Jul 2016 13:48:51 +0000 (+0200) Subject: bug fix: use PASS/FAIL in Onos instead of passed/failed X-Git-Tag: colorado.1.0~259 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F16679%2F2;p=functest.git bug fix: use PASS/FAIL in Onos instead of passed/failed Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme --- diff --git a/testcases/Controllers/ONOS/Teston/onosfunctest.py b/testcases/Controllers/ONOS/Teston/onosfunctest.py index bd00d476d..b215b08ad 100644 --- a/testcases/Controllers/ONOS/Teston/onosfunctest.py +++ b/testcases/Controllers/ONOS/Teston/onosfunctest.py @@ -222,11 +222,11 @@ def main(): # ONOS success criteria = all tests OK # i.e. FUNCvirNet & FUNCvirNetL3 - status = "failed" + status = "FAIL" try: if (result['FUNCvirNet']['result'] == "Success" and result['FUNCvirNetL3']['result'] == "Success"): - status = "passed" + status = "PASS" except: logger.error("Unable to set ONOS criteria")