commit | 3f932a7c6f8872c05d14c5c70bb7a4a047b2b6a2 | [log] [tgz] |
---|---|---|
author | pingping-lin <pingping@onlab.us> | Fri Oct 09 16:44:50 2015 -0700 |
committer | pingping-lin <pingping@onlab.us> | Fri Oct 09 16:44:50 2015 -0700 |
tree | 8bacfc9bb6ccca4cbd37791e63a86a5d83509ced | |
parent | c2cd957345e9b1d3ba226f6af5bcf5dd5053dda1 [diff] |
change method Change-Id: I262126733ee096d3b3a06f608868c94fbd02e13b
diff --git a/TestON/tests/USECASE_SdnipFunctionCluster/Dependency/Functions.py b/TestON/tests/USECASE_SdnipFunctionCluster/Dependency/Functions.py index ccb1622..8d4007a 100644 --- a/TestON/tests/USECASE_SdnipFunctionCluster/Dependency/Functions.py +++ b/TestON/tests/USECASE_SdnipFunctionCluster/Dependency/Functions.py
@@ -5,7 +5,7 @@ main.log.info( routeNumExpected ) main.log.info( "Route number from ONOS CLI:" ) - if ONOScli =="ONOScli1": + if ONOScli == "ONOScli1": routeNumActual = main.ONOScli1.ipv4RouteNumber() else: routeNumActual = main.ONOScli2.ipv4RouteNumber()
diff --git a/TestON/tests/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py b/TestON/tests/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py index 87c4af2..4efd38a 100644 --- a/TestON/tests/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py +++ b/TestON/tests/USECASE_SdnipFunctionCluster/USECASE_SdnipFunctionCluster.py
@@ -769,7 +769,7 @@ route number, P2P intent number, M2S intent number, ping test" ) main.step( "Find out ONOS leader node" ) result = main.ONOScli1.leaders() - jsonResult = json.load( result ) + jsonResult = json.loads( result ) leaderIP = "" for entry in jsonResult: if entry["topic"] == "org.onosproject.sdnip":