From 31c050bb5c5afa48f77e16db21d2bd19935fe9ea Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Mon, 11 Jul 2016 15:48:51 +0200 Subject: bug fix: use PASS/FAIL in Onos instead of passed/failed Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme --- testcases/Controllers/ONOS/Teston/onosfunctest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- cgit 1.2.3-korg