From 8a54974e5676002fffc0fdbb9b5d6ee7dc9f3a89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Reni=C3=A9?= Date: Thu, 28 Aug 2014 22:36:38 +0200 Subject: Topic in bytes --- test/testutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testutil.py') 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 = {} -- cgit v1.2.1