summaryrefslogtreecommitdiff
path: root/test/test_producer_integration.py
diff options
context:
space:
mode:
authorDana Powers <dana.powers@rd.io>2015-12-10 16:24:32 -0800
committerDana Powers <dana.powers@rd.io>2015-12-10 18:37:03 -0800
commitd54980a2cd918f243e30ecc23a588fb597957e41 (patch)
tree6d666d4832418863cf31ff186dab79805ba2b497 /test/test_producer_integration.py
parent7a804224949315251b9183fbfa56282ced881244 (diff)
downloadkafka-python-d54980a2cd918f243e30ecc23a588fb597957e41.tar.gz
Drop kafka_bytestring
Diffstat (limited to 'test/test_producer_integration.py')
-rw-r--r--test/test_producer_integration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_producer_integration.py b/test/test_producer_integration.py
index ee0b2fd..d09c1af 100644
--- a/test/test_producer_integration.py
+++ b/test/test_producer_integration.py
@@ -488,7 +488,7 @@ class TestKafkaProducerIntegration(KafkaIntegrationTestCase):
def assert_produce_request(self, messages, initial_offset, message_ct,
partition=0):
- produce = ProduceRequestPayload(self.bytes_topic, partition, messages=messages)
+ produce = ProduceRequestPayload(self.topic, partition, messages=messages)
# There should only be one response message from the server.
# This will throw an exception if there's more than one.
@@ -506,7 +506,7 @@ class TestKafkaProducerIntegration(KafkaIntegrationTestCase):
# There should only be one response message from the server.
# This will throw an exception if there's more than one.
- resp, = self.client.send_fetch_request([FetchRequestPayload(self.bytes_topic, partition, start_offset, 1024)])
+ resp, = self.client.send_fetch_request([FetchRequestPayload(self.topic, partition, start_offset, 1024)])
self.assertEqual(resp.error, 0)
self.assertEqual(resp.partition, partition)