csit-validate-pylint-master/3731 for build 3731
[csit.git] / resources / libraries / python / honeycomb / proxyARP.py
index 90d15b1..9696bf4 100644 (file)
@@ -122,11 +122,11 @@ class ProxyARPKeywords(object):
         path = "/interface/{0}/proxy-arp".format(interface)
 
         if state == "disable":
-            status_code, resp = HcUtil.delete_honeycomb_data(
+            status_code, _ = HcUtil.delete_honeycomb_data(
                 node, "config_vpp_interfaces", path)
         elif state == "enable":
             data = {"proxy-arp": {}}
-            status_code, resp = HcUtil.put_honeycomb_data(
+            status_code, _ = HcUtil.put_honeycomb_data(
                 node, "config_vpp_interfaces", data, path)
         else:
             raise ValueError("State argument has to be enable or disable.")
@@ -134,7 +134,7 @@ class ProxyARPKeywords(object):
         if status_code not in (HTTPCodes.OK, HTTPCodes.ACCEPTED):
             raise HoneycombError(
                 "Interface proxyARP configuration on node {0} was not"
-                " successful.".format(node))
+                " successful.".format(node["host"]))
 
     @staticmethod
     def get_proxyarp_interface_assignment(node, interface):