

@unittest.skip("Option 'e' (Exit) currently disabled")
def test_UserAbort_with_options_Exit_and_Command_should_raise_an_exception(self):
    error_handler = self._create_error_handler_with_core_mock()
    flexmock(error_handler)
    error_handler.should_receive('get_option_from_user').and_return('e').once()
    try:
        error_handler.UserAbort('Command')
        self.fail('Exception expected')
    except FrameworkAbortException:
        pass

dataset/ETHPy150Open owtf/owtf/tests/test_cases/framework/error_handler_tests.py ErrorHandlerTests.test_UserAbort_with_options_Exit_and_Command_should_raise_an_exception/original