summaryrefslogtreecommitdiff
path: root/test/testutil.py
diff options
context:
space:
mode:
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 = {}