Edited suites to use norm_json.py instead of HsfJson
[integration/test.git] / csit / suites / bgpcep / bgpuser / cases.robot
index 2debef4d0e9cde0b61683492ff09ede0c38b560f..0258d96e17c0e26ab82ec67f1ac9d62dda1ca2f8 100644 (file)
@@ -32,7 +32,7 @@ Test Teardown     FailFast.Start_Failing_Fast_If_This_Failed
 Library           OperatingSystem
 Library           SSHLibrary    timeout=10s
 Library           RequestsLibrary
-Library           ${CURDIR}/../../../libraries/HsfJson/hsf_json.py
+Library           ${CURDIR}/../../../libraries/norm_json.py
 Variables         ${CURDIR}/../../../variables/Variables.py
 Variables         ${CURDIR}/../../../variables/bgpuser/variables.py    ${TOOLS_SYSTEM_IP}    ${ODL_STREAM}
 Resource          ${CURDIR}/../../../libraries/BGPcliKeywords.robot
@@ -267,8 +267,8 @@ Compare_Topology
 
 Normalize_And_Save_Expected_Json
     [Arguments]    ${json_text}    ${filename}    ${directory}
-    [Documentation]    Normalize given json using hsf_json library. Log and save the result to given filename under given directory.
-    ${json_normalized}=    hsf_json.Hsf_Json    ${json_text}
+    [Documentation]    Normalize given json using norm_json library. Log and save the result to given filename under given directory.
+    ${json_normalized}=    norm_json.normalize_json_text    ${json_text}
     BuiltIn.Log    ${json_normalized}
     OperatingSystem.Create_File    ${directory}${/}${filename}    ${json_normalized}
     # TODO: Should we prepend .json to the filename? When we detect it is not already prepended?