summaryrefslogtreecommitdiff
path: root/test/test_client.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2014-08-25 10:15:16 -0700
committerDana Powers <dana.powers@rd.io>2014-08-25 12:54:54 -0700
commite151529078d53deca6254dee5b80e41e01226a7f (patch)
tree488ff0fb3a2ed26f52aa9f4b471ff3ff7060a938 /test/test_client.py
parentd73d1690b16ea86a9fd51056f4d149f54a4dd8f0 (diff)
downloadkafka-python-e151529078d53deca6254dee5b80e41e01226a7f.tar.gz
Add pylint to tox.ini; test both kafka and test; default to error-checking only; fixup errors; skip kafka/queue.py
Diffstat (limited to 'test/test_client.py')
-rw-r--r--test/test_client.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/test_client.py b/test/test_client.py
index fe9beff..32a2256 100644
--- a/test/test_client.py
+++ b/test/test_client.py
@@ -1,6 +1,3 @@
-import os
-import random
-import struct
import unittest2
from mock import MagicMock, patch
@@ -11,9 +8,7 @@ from kafka.common import (
TopicAndPartition, KafkaUnavailableError,
LeaderUnavailableError, PartitionUnavailableError
)
-from kafka.protocol import (
- create_message, KafkaProtocol
-)
+from kafka.protocol import create_message
class TestKafkaClient(unittest2.TestCase):
def test_init_with_list(self):