From 69c1c3104af158aea8431397be7c7a1794ef46ca Mon Sep 17 00:00:00 2001 From: Kailash Khalasi Date: Fri, 29 May 2020 11:33:05 -0700 Subject: [PATCH] Use ${DELETED_STATUS_CODES} instead of hard-coded value Change-Id: I5c992a1bb128fd1044cb2449052f85aef8555491 Signed-off-by: Kailash Khalasi --- csit/libraries/NetconfKeywords.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csit/libraries/NetconfKeywords.robot b/csit/libraries/NetconfKeywords.robot index 676f78b4c6..810476c263 100644 --- a/csit/libraries/NetconfKeywords.robot +++ b/csit/libraries/NetconfKeywords.robot @@ -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 -- 2.36.6