From 9ec3d41ff5e3bd337db1820b5d59ac284c1a5620 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Mon, 22 Apr 2013 14:38:52 +0100 Subject: [PATCH] Tests passing --- kombu/tests/test_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kombu/tests/test_utils.py b/kombu/tests/test_utils.py index 7090546c..c718c9e5 100644 --- a/kombu/tests/test_utils.py +++ b/kombu/tests/test_utils.py @@ -215,7 +215,7 @@ class test_retry_over_time(TestCase): self.myfun, self.Predicate, max_retries=1, errback=self.errback, interval_max=14, ) - self.assertEqual(self.index, 2) + self.assertEqual(self.index, 1) # no errback self.assertRaises( self.Predicate, utils.retry_over_time, @@ -230,7 +230,7 @@ class test_retry_over_time(TestCase): self.myfun, self.Predicate, max_retries=0, errback=self.errback, interval_max=14, ) - self.assertEqual(self.index, 1) + self.assertEqual(self.index, 0) class test_cached_property(TestCase):