Use ${DELETED_STATUS_CODES} instead of hard-coded value 08/90108/1
authorKailash Khalasi <kailash.khalasi@gmail.com>
Fri, 29 May 2020 18:33:05 +0000 (11:33 -0700)
committerKailash Khalasi <kailash.khalasi@gmail.com>
Fri, 29 May 2020 18:34:06 +0000 (11:34 -0700)
Change-Id: I5c992a1bb128fd1044cb2449052f85aef8555491
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
csit/libraries/NetconfKeywords.robot

index 676f78b4c644bf6812394e62170f3fea396311df..810476c26310374b4652c3c1d620f5c10ec219ff 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}    404
+    BuiltIn.Should_Contain    ${response}    ${DELETED_STATUS_CODES}
 
 Check_Device_Connected
     [Arguments]    ${device_name}    ${session}=default    ${log_response}=True