Migrate request invocations (netconf)
[integration/test.git] / csit / libraries / TemplatedRequests.robot
index 30b743a65c89e1ae548788ca62cb226a78cfda8f..ea7a795e6dd03812f621968faebdcddd0f79b773 100644 (file)
@@ -125,6 +125,7 @@ Resource            ${CURDIR}/../variables/Variables.robot
 ...                                 ${201}
 ...                                 ${204}
 ...                                 ${404}
+...                                 ${409}
 # List of integers, not strings. Used by both PUT and DELETE (if the resource should have been present).
 @{ALLOWED_STATUS_CODES}
 ...                                 ${200}
@@ -664,11 +665,11 @@ Get_From_Uri
     BuiltIn.Log    ${uri}
     BuiltIn.Log    ${accept}
     IF    """${http_timeout}""" == """${EMPTY}"""
-        ${response} =    RequestsLibrary.Get_On_Session    ${session}    ${uri}    headers=${accept}
+        ${response} =    RequestsLibrary.Get_On_Session    ${session}    url=${uri}    headers=${accept}
     ELSE
         ${response} =    RequestsLibrary.Get_On_Session
         ...    ${session}
-        ...    ${uri}
+        ...    url=${uri}
         ...    headers=${accept}
         ...    timeout=${http_timeout}
     END