X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FGenius.robot;h=6cc208d06ae65a51273ac36cfc80fbf095570d2d;hb=refs%2Fchanges%2F17%2F90617%2F7;hp=713d260472800d41987b913f1fa6fc1a31011d0e;hpb=05b470e7f3b3e677b6667be7b48a50716d21708c;p=integration%2Ftest.git diff --git a/csit/libraries/Genius.robot b/csit/libraries/Genius.robot index 713d260472..6cc208d06a 100644 --- a/csit/libraries/Genius.robot +++ b/csit/libraries/Genius.robot @@ -230,9 +230,9 @@ Get Tunnel ${resp} = BuiltIn.Run Keyword If '${config_api_type}' == '${EMPTY}' RequestsLibrary.Get Request session ${CONFIG_API}/itm-state:tunnel-list/internal-tunnel/${src}/${dst}/${type}/ ... ELSE RequestsLibrary.Get Request session ${CONFIG_API}/itm-state:dpn-teps-state/dpns-teps/${src}/remote-dpns/${dst}/ BuiltIn.Should Be Equal As Strings ${resp.status_code} ${RESP_CODE} - BuiltIn.Log ${resp.content} - ${respjson} = RequestsLibrary.To Json ${resp.content} pretty_print=True - ${json} = Utils.Json Parse From String ${resp.content} + BuiltIn.Log ${resp.text} + ${respjson} = RequestsLibrary.To Json ${resp.text} pretty_print=True + ${json} = Utils.Json Parse From String ${resp.text} BuiltIn.Should Contain ${resp.text} ${dst} BuiltIn.Run Keyword If '${config_api_type}' == '${EMPTY}' BuiltIn.Should Contain ${resp.text} ${src} ${tunnel_interface_name} = BuiltIn.Run Keyword If "tunnel-interface-names" in "${json}" Genius.Get Tunnel Interface Name ${json["internal-tunnel"][0]} tunnel-interface-names