This commit is contained in:
Richard van der Hoff 2016-07-25 12:25:06 +01:00
parent 465117d7ca
commit 42f4feb2b7

View File

@ -68,7 +68,7 @@ class BackgroundUpdateTestCase(unittest.TestCase):
self.update_handler.side_effect = update self.update_handler.side_effect = update
self.update_handler.reset_mock() self.update_handler.reset_mock()
result = yield self.store.do_next_background_update( result = yield self.store.do_next_background_update(
duration_ms * desired_count duration_ms * desired_count
) )
self.assertIsNotNone(result) self.assertIsNotNone(result)
self.update_handler.assert_called_once_with( self.update_handler.assert_called_once_with(