Exemplo n.º 1
0
 def when_i_retry_the_function(self):
     self.result = retry_(self.function_to_retry, [ValueError, IndexError], 3, 0.001, lambda e, x: None, *self.expected_args, **self.expected_kwargs)
Exemplo n.º 2
0
 def when_i_retry_the_function(self):
     self.result = retry_(self.function_to_retry, [ValueError, IndexError],
                          3, 0.001, lambda e, x: None, *self.expected_args,
                          **self.expected_kwargs)
Exemplo n.º 3
0
 def when_i_retry_the_function(self):
     self.result = retry_(self.function_to_retry, Exception, 3, 0.001, lambda e, x: None, *self.expected_args, **self.expected_kwargs)
Exemplo n.º 4
0
 def when_i_retry_the_function(self):
     self.result = retry_(self.function_to_retry, Exception, 3, 0.001,
                          lambda e, x: None, *self.expected_args,
                          **self.expected_kwargs)