Fixed autmoation code issues

Changes:
    - Delete DNS Server And Verify
    - Modify IPv4 Address And Verify

Change-Id: I6e45934d0f74abf0c0beea404eba7e8dec3911bb
Signed-off-by: Anves Kumar rayankula <anvesr77@in.ibm.com>
diff --git a/redfish/managers/test_bmc_network_conf.robot b/redfish/managers/test_bmc_network_conf.robot
index 6a7c8b4..2dee121 100644
--- a/redfish/managers/test_bmc_network_conf.robot
+++ b/redfish/managers/test_bmc_network_conf.robot
@@ -480,8 +480,7 @@
     [Documentation]  Modify IP address via Redfish and verify.
     [Tags]  Modify_IPv4_Addres_And_Verify
     [Teardown]  Run Keywords
-    ...  Delete IP Address  ${test_ipv4_addr2}  AND  Delete IP Address  ${test_ipv4_addr}
-    ...  AND  Test Teardown Execution
+    ...  Delete IP Address  ${test_ipv4_addr2}  AND  Test Teardown Execution
 
      Add IP Address  ${test_ipv4_addr}  ${test_subnet_mask}  ${test_gateway}
 
@@ -611,7 +610,7 @@
 Delete Static Name Servers
     [Documentation]  Delete static name servers.
 
-    Configure Static Name Servers  @{EMPTY}
+    Configure Static Name Servers  static_name_servers=@{EMPTY}
 
     # Check if all name servers deleted on BMC.
     ${nameservers}=  CLI Get Nameservers