diff options
author | Bruno Renié <brutasse@gmail.com> | 2014-08-29 09:53:41 +0200 |
---|---|---|
committer | Mark Roberts <wizzat@fb.com> | 2014-09-03 09:55:45 -0700 |
commit | fed41769433d2ae57080d5f7b67f18afc0d9adce (patch) | |
tree | 67229d83a3927844cbf5df9fc89f46fc896ee769 /test/test_producer.py | |
parent | 974cda1b7ad21ae6c2e7f2f03d5f87d8061c143b (diff) | |
download | kafka-python-fed41769433d2ae57080d5f7b67f18afc0d9adce.tar.gz |
More bytes topics
Diffstat (limited to 'test/test_producer.py')
-rw-r--r-- | test/test_producer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_producer.py b/test/test_producer.py index 184b7ce..523ad40 100644 --- a/test/test_producer.py +++ b/test/test_producer.py @@ -15,7 +15,7 @@ class TestKafkaProducer(unittest.TestCase): def test_producer_message_types(self): producer = Producer(MagicMock()) - topic = "test-topic" + topic = b"test-topic" partition = 0 bad_data_types = (u'你怎么样?', 12, ['a', 'list'], ('a', 'tuple'), {'a': 'dict'}) |