summaryrefslogtreecommitdiff
path: root/test/test_consumer_integration.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-06-04 22:10:21 -0700
committerDana Powers <dana.powers@rd.io>2015-06-06 16:22:27 -0700
commit207499b26d5ce6c7a72771250b8e4365944aa1bd (patch)
treedaa38905d6a547ca9e4679253b4fc3c664199866 /test/test_consumer_integration.py
parent868115c703afc4403adc8d9481bf31d2c15064dd (diff)
downloadkafka-python-207499b26d5ce6c7a72771250b8e4365944aa1bd.tar.gz
random_string helper should return str not bytes
Diffstat (limited to 'test/test_consumer_integration.py')
-rw-r--r--test/test_consumer_integration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_consumer_integration.py b/test/test_consumer_integration.py
index ddb54a7..3825f94 100644
--- a/test/test_consumer_integration.py
+++ b/test/test_consumer_integration.py
@@ -475,7 +475,7 @@ class TestConsumerIntegration(KafkaIntegrationTestCase):
@kafka_versions("0.8.1", "0.8.1.1", "0.8.2.0")
def test_kafka_consumer__offset_commit_resume(self):
- GROUP_ID = random_string(10)
+ GROUP_ID = random_string(10).encode('utf-8')
self.send_messages(0, range(0, 100))
self.send_messages(1, range(100, 200))