Fix up PrefixCounting warning 62/111062/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Mar 2024 13:22:46 +0000 (14:22 +0100)
committerTomas Cere <tomas.cere@pantheon.tech>
Tue, 26 Mar 2024 13:47:16 +0000 (13:47 +0000)
RequestsLibrary is warning about missing url, as our url contains an
equality sign. Fix that up by adding an explicit assignment.

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

csit/libraries/PrefixCounting.robot

index dfce8de879097876899016e53e9ae91e96cfa32d..abac3ff9dd4b84daf4462b68aa109763f581a2b5 100644 (file)
@@ -35,7 +35,7 @@ Get_Ipv4_Topology
     ...
     ...    Contrary to Utils.Get_Data_From_URI, this does not Log the (potentially huge) content.
     [Arguments]    ${session}=operational    ${topology}=example-ipv4-topology
-    ${response} =    RequestsLibrary.GET On Session    ${session}    ${PC_NW_TOPOLOGY}=${topology}?content=nonconfig expected_status=any
+    ${response} =    RequestsLibrary.GET On Session    ${session}    url=${PC_NW_TOPOLOGY}=${topology}?content=nonconfig expected_status=any
     IF    ${response.status_code} != 200
         Fail    Get on ${topology} returned status code ${response.status_code} with message: ${response.text}
     END