aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/Controllers/ONOS
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-07-11 15:48:51 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-11 14:14:01 +0000
commit31c050bb5c5afa48f77e16db21d2bd19935fe9ea (patch)
tree7e9ec2fed0b9aa9fc00fd93f75d6978c446120e1 /testcases/Controllers/ONOS
parent24fc036d1d7be485b40fb5dbe834d324eba06453 (diff)
bug fix: use PASS/FAIL in Onos instead of passed/failed
Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'testcases/Controllers/ONOS')
-rw-r--r--testcases/Controllers/ONOS/Teston/onosfunctest.py4
1 files 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")