diff options
author | Mark Roberts <wizzat@gmail.com> | 2014-05-22 13:35:08 -0700 |
---|---|---|
committer | Mark Roberts <wizzat@gmail.com> | 2014-05-22 13:35:08 -0700 |
commit | 31532ba9679b2743bd6ce8890039f41ea59d0fda (patch) | |
tree | 7dbafec3028034fa277ccf693415bd17c279c89c | |
parent | 35a14e18c631508e195f9377a6b5a4861966b3a2 (diff) | |
download | kafka-python-31532ba9679b2743bd6ce8890039f41ea59d0fda.tar.gz |
Fix Py26 test cases
-rw-r--r-- | test/test_producer_integration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_producer_integration.py b/test/test_producer_integration.py index 0718cb3..7d3a180 100644 --- a/test/test_producer_integration.py +++ b/test/test_producer_integration.py @@ -144,7 +144,7 @@ class TestKafkaProducerIntegration(KafkaIntegrationTestCase): @kafka_versions("all") def test_produce__new_topic_fails_with_reasonable_error(self): - new_topic = 'new_topic_{}'.format(str(uuid.uuid4())) + new_topic = 'new_topic_{guid}'.format(guid = str(uuid.uuid4())) producer = SimpleProducer(self.client) # At first it doesn't exist |