bug fix: use PASS/FAIL in Onos instead of passed/failed 79/16679/2
authorMorgan Richomme <morgan.richomme@orange.com>
Mon, 11 Jul 2016 13:48:51 +0000 (15:48 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Mon, 11 Jul 2016 14:14:01 +0000 (14:14 +0000)
Change-Id: I6a293d49476a428b82c472dafa47793c494c2c92
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
testcases/Controllers/ONOS/Teston/onosfunctest.py

index bd00d47..b215b08 100644 (file)
@@ -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")