Fix robot bug in Should_Contain assertion 18/90118/1
authorKailash Khalasi <kailash.khalasi@gmail.com>
Fri, 29 May 2020 21:00:04 +0000 (14:00 -0700)
committerKailash Khalasi <kailash.khalasi@gmail.com>
Fri, 29 May 2020 21:01:07 +0000 (14:01 -0700)
Change-Id: I4f2f8b70cb63f4d09fa2c5466dad1d6371d67909
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
csit/libraries/NetconfKeywords.robot

index 810476c26310374b4652c3c1d620f5c10ec219ff..049da85f5c79d42da0d77da11a4f6be085717298 100644 (file)
@@ -105,7 +105,7 @@ Check_Device_Completely_Gone
     ${uri} =    Restconf.Generate URI    network-topology:network-topology    config    topology=topology-netconf    node=${device_name}
     ${status}    ${response}=    BuiltIn.Run_Keyword_And_Ignore_Error    TemplatedRequests.Get_As_Xml_From_Uri    ${uri}    session=${session}    log_response=${log_response}
     BuiltIn.Should_Be_Equal_As_Strings    ${status}    FAIL
-    BuiltIn.Should_Contain    ${response}    ${DELETED_STATUS_CODES}
+    BuiltIn.Should_Contain    ${DELETED_STATUS_CODES}    ${response}
 
 Check_Device_Connected
     [Arguments]    ${device_name}    ${session}=default    ${log_response}=True