summaryrefslogtreecommitdiff
path: root/test/test_client.py
diff options
context:
space:
mode:
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):