

def test_UserAbort_with_plugin_should_raise_and_exception(self):
    error_handler = self._create_error_handler_with_core_mock()
    flexmock(error_handler)
    try:
        error_handler.UserAbort('Plugin')
    except PluginAbortException:
        pass

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