Use correct kw when checking empty DS in netconf library 29/90129/1
authorKailash Khalasi <kailash.khalasi@gmail.com>
Sat, 30 May 2020 01:15:06 +0000 (18:15 -0700)
committerKailash Khalasi <kailash.khalasi@gmail.com>
Sat, 30 May 2020 01:15:57 +0000 (18:15 -0700)
Change-Id: I488168ef77f7ffd8ca73489c1093b01bbe309279
Signed-off-by: Kailash Khalasi <kailash.khalasi@gmail.com>
csit/libraries/NetconfKeywords.robot

index 049da85f5c79d42da0d77da11a4f6be085717298..0a7220cea59c087c8f796814f09f6d20d46dc2b7 100644 (file)
@@ -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