Use explicit RequestsLibrary.Create_Session reference 63/111063/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Mar 2024 13:28:40 +0000 (14:28 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Mar 2024 13:28:40 +0000 (14:28 +0100)
Follow what other parts of the CSIT suite does, which is explicitly
use RequestsLibrary.Create_Session.

Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Change-Id: I09837fe4d7b423fb4485d812a164d9ae284c76f0

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}