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":