Tests passing

This commit is contained in:
Ask Solem 2012-11-05 13:28:35 +00:00
parent aa0323e398
commit 2afe3fb996
1 changed files with 3 additions and 3 deletions

View File

@ -145,10 +145,10 @@ class test_replies(TestCase):
class test_insured(TestCase):
@patch('kombu.common.insured_logger')
def test_ensure_errback(self, insured_logger):
@patch('kombu.common.logger')
def test_ensure_errback(self, logger):
common._ensure_errback('foo', 30)
self.assertTrue(insured_logger.error.called)
self.assertTrue(logger.error.called)
def test_revive_connection(self):
on_revive = Mock()