fix pylint errors
Also removed some testutils code that must have been dead because it had
rotten.
diff --git a/tests/pktact.py b/tests/pktact.py
index a68e773..10dbdb3 100644
--- a/tests/pktact.py
+++ b/tests/pktact.py
@@ -424,6 +424,7 @@
exp_pkt_arg = None
exp_port = None
+ count = 0
while True:
(response, raw) = self.controller.poll(ofp.OFPT_PACKET_IN)
if not response: # Timeout
diff --git a/tests/serial_failover.py b/tests/serial_failover.py
index fab5141..ffbbf0a 100644
--- a/tests/serial_failover.py
+++ b/tests/serial_failover.py
@@ -84,7 +84,7 @@
time.sleep(1)
count = count + 1
else:
- self.assertTrue(false, "Unknown controller kill method")
+ self.assertTrue(False, "Unknown controller kill method")
def buildControllerList(self):
# controller_list is list of ip/port tuples