diff options
author | Mark Roberts <wizzat@gmail.com> | 2014-12-16 20:49:13 -0800 |
---|---|---|
committer | Mark Roberts <wizzat@gmail.com> | 2014-12-16 20:49:13 -0800 |
commit | 9c5216a97fde23c2619d3c4d72cab3f912949fbf (patch) | |
tree | d389018a668db9cb8a5e367edc745b4ddf1ae26d /test/test_failover_integration.py | |
parent | 30c87fb2d7049e27bb5d839791eb36dd790ad152 (diff) | |
parent | 29cae3e40b1d89d1a21525864794de7de3700461 (diff) | |
download | kafka-python-9c5216a97fde23c2619d3c4d72cab3f912949fbf.tar.gz |
Merge pull request #234 from dpkp/high_level_consumer
A simpler kafka consumer
Diffstat (limited to 'test/test_failover_integration.py')
-rw-r--r-- | test/test_failover_integration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_failover_integration.py b/test/test_failover_integration.py index d307d41..ca71f2d 100644 --- a/test/test_failover_integration.py +++ b/test/test_failover_integration.py @@ -121,7 +121,7 @@ class TestFailover(KafkaIntegrationTestCase): logging.debug('_send_random_message to %s:%d -- try %d', topic, partition, j) resp = producer.send_messages(topic, partition, random_string(10)) if len(resp) > 0: - self.assertEquals(resp[0].error, 0) + self.assertEqual(resp[0].error, 0) logging.debug('_send_random_message to %s:%d -- try %d success', topic, partition, j) def _kill_leader(self, topic, partition): |