Updated Test references to "Library RequestsLibrary"
[integration/test.git] / test / csit / suites / openflowplugin / MD_SAL_NSF_OF10 / 040__restconf_frm.robot
index d9bfff77d532ef54e032670ef555c120d17080cb..3f8a7ab25dda8f8583439809e7a7373963c6659a 100644 (file)
@@ -3,7 +3,7 @@ Documentation     Test suite for RESTCONF FRM
 Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
 Suite Teardown    Delete All Sessions
 Library           Collections
-Library           ../../../libraries/RequestsLibrary.py
+Library           RequestsLibrary
 Library           ../../../libraries/Common.py
 Variables         ../../../variables/Variables.py
 Resource          ../../../libraries/Utils.robot
@@ -15,7 +15,7 @@ ${BODY2}          <flow xmlns="urn:opendaylight:flow:inventory"><priority>2</pri
 *** Test Cases ***
 Add a flow - Output to physical port#
     [Documentation]    Push a flow through REST-API
-    ${resp}    Putxml    session    ${REST_CON}/node/openflow:1/table/0/flow/152    data=${BODY2}
+    ${resp}    RequestsLibrary.Put    session    ${REST_CON}/node/openflow:1/table/0/flow/152    headers=${HEADERS_XML}    data=${BODY2}
     Should Be Equal As Strings    ${resp.status_code}    200
 
 Verify after adding flow config - Output to physical port#