Searched refs:sentinel (Results 1 – 1 of 1) sorted by relevance
61 def _RaiseAndRetry(sentinel): argument62 sentinel.alert()65 sentinel = mock.MagicMock()66 self.assertRaises(ValueError, _RaiseAndRetry, sentinel)67 self.assertEqual(1 + num_retry, sentinel.alert.call_count)71 def _RaiseAndRetry(sentinel): argument72 sentinel.alert()76 sentinel = mock.MagicMock()79 sentinel=sentinel)80 self.assertEqual(1 + num_retry, sentinel.alert.call_count)[all …]