Test code fix for Delete Static Name Servers
Change-Id: Id0a55537bc061ca8d8fc72220db2247ad4061bbc
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 48cee49..2ac8903 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -745,11 +745,16 @@
Delete Static Name Servers
[Documentation] Delete static name servers.
+ DNS Test Setup Execution
Configure Static Name Servers static_name_servers=@{EMPTY}
# Check if all name servers deleted on BMC.
${nameservers}= CLI Get Nameservers
- Should Be Empty ${nameservers}
+ Should Not Contain ${nameservers} ${original_nameservers}
+
+ DNS Test Setup Execution
+
+ Should Be Empty ${original_nameservers}
DNS Test Setup Execution
[Documentation] Do DNS test setup execution.