diff options
author | David Arthur <mumrah@gmail.com> | 2013-10-04 04:54:12 -0700 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2013-10-04 04:54:12 -0700 |
commit | cfd9f86e60429d1f7af8bcac5849808354b8719e (patch) | |
tree | 82039e80d595b4ad611a831a597521cae7939571 /test/test_unit.py | |
parent | b0cacc948539d180e4a634a06a10232770deb187 (diff) | |
parent | 59af614d1d09db6f7e0115dcf39232bf4f0ece9a (diff) | |
download | kafka-python-cfd9f86e60429d1f7af8bcac5849808354b8719e.tar.gz |
Merge pull request #59 from mrtheb/master
flake8 (pep8 and pyflakes) clean-up
Diffstat (limited to 'test/test_unit.py')
-rw-r--r-- | test/test_unit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_unit.py b/test/test_unit.py index c796c94..3f3af66 100644 --- a/test/test_unit.py +++ b/test/test_unit.py @@ -3,7 +3,8 @@ import random import struct import unittest -from kafka.client import KafkaClient, ProduceRequest, FetchRequest +from kafka.client import KafkaClient +from kafka.common import ProduceRequest, FetchRequest from kafka.codec import ( has_gzip, has_snappy, gzip_encode, gzip_decode, @@ -59,7 +60,6 @@ class TestMisc(unittest.TestCase): def test_length_prefix(self): for i in xrange(ITERATIONS): s1 = random_string() - s2 = length_prefix_message(s1) self.assertEquals(struct.unpack('>i', s2[0:4])[0], len(s1)) |