Use explicit RequestsLibrary.Create_Session reference
[integration/test.git] / csit / libraries / PcepOperations.robot
index 13c4ebe8bb7f9c1623a1654a2528a071b057c2b8..6cc315e05ea759397af812f3dcc8f06391c43a60 100644 (file)
@@ -23,8 +23,7 @@ ${PCEP_VAR_FOLDER}      ${CURDIR}/../variables/tcpmd5user
 *** Keywords ***
 Setup_Pcep_Operations
     [Documentation]    Creates Requests session to be used by subsequent keywords.
-    # Do not append slash at the end uf URL, Requests would add another, resulting in error.
-    Create_Session
+    RequestsLibrary.Create_Session
     ...    alias=pcep_session
     ...    url=http://${ODL_SYSTEM_IP}:${RESTCONFPORT}/rests/operations/
     ...    headers=${HEADERS_XML}