Here are the examples of the python api tests.mocks.MockRetryStep taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Source : test_retries.py
with MIT License
from meadsteve
with MIT License
from meadsteve
def test_the_retry_is_run():
mock_step = MockRetryStep()
run_transaction(steps=[mock_step], starting_state=0)
assert mock_step.actions_taken == ["ran retry on state 0 after 1 failures"]
def test_a_second_retry_can_be_run():