@pytest.mark.integration(reruns=MAX_FLAKY_RERUNS_INTEGRATION)
def test_run_end_to_end(self):
    'Run the transaction from the file.'
    try:
        run()
        self.mocked_logger_info.assert_any_call('Transaction complete.')
    except RuntimeError:
        test_logger.info('RuntimeError: Some transactions have failed')
Run the transaction from the file.
@pytest.mark.integration(reruns=MAX_FLAKY_RERUNS_INTEGRATION)
def test_run_end_to_end(self):
    
    try:
        run()
        self.mocked_logger_info.assert_any_call('Transaction complete.')
    except RuntimeError:
        test_logger.info('RuntimeError: Some transactions have failed')