From 2afe3fb9966f258efbca789654f90f2db5834ce9 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Mon, 5 Nov 2012 13:28:35 +0000 Subject: [PATCH] Tests passing --- kombu/tests/test_common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kombu/tests/test_common.py b/kombu/tests/test_common.py index a66ecf39..18f4381b 100644 --- a/kombu/tests/test_common.py +++ b/kombu/tests/test_common.py @@ -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()