summaryrefslogtreecommitdiff
path: root/test/testutil.py
diff options
context:
space:
mode:
authorBruno ReniƩ <brutasse@gmail.com>2014-08-28 22:36:38 +0200
committerMark Roberts <wizzat@fb.com>2014-09-03 09:55:45 -0700
commit8a54974e5676002fffc0fdbb9b5d6ee7dc9f3a89 (patch)
tree1dbd113a8894f6e7d08f9cbc0517670bf2a3d4e8 /test/testutil.py
parent492792ecb3808db5b6b32ccd96979a813fa64878 (diff)
downloadkafka-python-8a54974e5676002fffc0fdbb9b5d6ee7dc9f3a89.tar.gz
Topic in bytes
Diffstat (limited to 'test/testutil.py')
-rw-r--r--test/testutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil.py b/test/testutil.py
index 8584509..5cdebb3 100644
--- a/test/testutil.py
+++ b/test/testutil.py
@@ -64,7 +64,7 @@ class KafkaIntegrationTestCase(unittest.TestCase):
if self.create_client:
self.client = KafkaClient('%s:%d' % (self.server.host, self.server.port))
- self.client.ensure_topic_exists(self.topic)
+ self.client.ensure_topic_exists(self.topic.encode('utf-8'))
self._messages = {}