X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fbgpcep%2Fpcepuser%2Fpcepuser.robot;h=f95b29e7cfd16b5ed90b6aee44f636269841cd61;hb=dd8f2cc400082ac6b70a8644de0243d1f83dc21d;hp=ee5fd21fa0325cd128aa00777c2abf9bff6409ef;hpb=63342e0454b82783a6ef7a9b19e1698b9b5cd621;p=integration%2Ftest.git diff --git a/csit/suites/bgpcep/pcepuser/pcepuser.robot b/csit/suites/bgpcep/pcepuser/pcepuser.robot index ee5fd21fa0..f95b29e7cf 100644 --- a/csit/suites/bgpcep/pcepuser/pcepuser.robot +++ b/csit/suites/bgpcep/pcepuser/pcepuser.robot @@ -11,7 +11,7 @@ Suite Teardown Tear_It_Down Library OperatingSystem Library SSHLibrary Library RequestsLibrary -Library ${CURDIR}/../../../libraries/HsfJson/hsf_json.py +Library ${CURDIR}/../../../libraries/norm_json.py Resource ${CURDIR}/../../../libraries/NexusKeywords.robot Resource ${CURDIR}/../../../libraries/PcepOperations.robot Resource ${CURDIR}/../../../libraries/Utils.robot @@ -133,13 +133,13 @@ Compare_Topology [Documentation] Get current pcep-topology as json, normalize both expected and actual json. ... Save normalized jsons to files for later processing. ... Error codes and normalized jsons should match exactly. - ${normexp}= Hsf_Json ${expected} + ${normexp}= norm_json.normalize_json_text ${expected} Log ${normexp} Create_File ${ExpDir}${/}${name} ${normexp} ${resp}= RequestsLibrary.Get Request ses topology/pcep-topology Log ${resp} Log ${resp.text} - ${normresp}= Hsf_Json ${resp.text} + ${normresp}= norm_json.normalize_json_text ${resp.text} Log ${normresp} Create_File ${ActDir}${/}${name} ${normresp} Should_Be_Equal_As_Strings ${resp.status_code} 200