Tests passing

This commit is contained in:
Ask Solem 2013-04-22 14:38:52 +01:00
parent 1a169dfb36
commit 9ec3d41ff5
1 changed files with 2 additions and 2 deletions

View File

@ -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):