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