From: Kailash Khalasi Date: Sat, 30 May 2020 01:15:06 +0000 (-0700) Subject: Use correct kw when checking empty DS in netconf library X-Git-Tag: pre-potassium~212 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=b1ba6f3a490d6ec791b24574cf5bf79908cf964d;hp=3800fec3a0c64b070a2876d57021e347471313a2 Use correct kw when checking empty DS in netconf library Change-Id: I488168ef77f7ffd8ca73489c1093b01bbe309279 Signed-off-by: Kailash Khalasi --- diff --git a/csit/libraries/NetconfKeywords.robot b/csit/libraries/NetconfKeywords.robot index 049da85f5c..0a7220cea5 100644 --- a/csit/libraries/NetconfKeywords.robot +++ b/csit/libraries/NetconfKeywords.robot @@ -103,9 +103,7 @@ Check_Device_Completely_Gone [Documentation] Check that the specified device has no Netconf connectors nor associated data. Check_Device_Has_No_Netconf_Connector ${device_name} session=${session} ${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 ${DELETED_STATUS_CODES} ${response} + Utils.No Content From URI ${session} ${uri} Check_Device_Connected [Arguments] ${device_name} ${session}=default ${log_response}=True