X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fcsit%2Flibraries%2FFlowLib.robot;fp=test%2Fcsit%2Flibraries%2FFlowLib.robot;h=ffccd72aeeb53e8209ed3585d5d36bdeb40af4b4;hb=ef95b27ed57e5e66d804735345ac3d6658b139b4;hp=9f4c421a96d7340ddd00d8f3da4518d6bc996d31;hpb=a71d7e412806ceae3181253e12669980000efc6b;p=integration.git diff --git a/test/csit/libraries/FlowLib.robot b/test/csit/libraries/FlowLib.robot index 9f4c421a..ffccd72a 100644 --- a/test/csit/libraries/FlowLib.robot +++ b/test/csit/libraries/FlowLib.robot @@ -5,6 +5,7 @@ Documentation Keywords used to create/modify flow objects. The object is def ... controller) Library ./FlowLib.py Library XML +Library RequestsLibrary Variables ../variables/Variables.py *** Variables *** @@ -141,7 +142,7 @@ Remove Flow XML Element Add Flow To Controller And Verify [Arguments] ${flow_body} ${node_id} ${table_id} ${flow_id} [Documentation] Push flow through REST-API and verify in data-store - ${resp} Put Xml session ${REST_CON}/node/${node_id}/table/${table_id}/flow/${flow_id} data=${flow_body} + ${resp} RequestsLibrary.Put session ${REST_CON}/node/${node_id}/table/${table_id}/flow/${flow_id} headers=${HEADERS_XML} data=${flow_body} Log ${resp.content} Should Be Equal As Strings ${resp.status_code} 200 ${resp} RequestsLibrary.Get session ${REST_CON}/node/${node_id}/table/${table_id}/flow/${flow_id} headers=${ACCEPT_XML}