

def test_FrameworkAbort_printing_and_core_delegation(self):
    message = 'Message'
    self.core_mock.should_receive('Finish').with_args(str, bool).once()
    error_handler = self._create_error_handler_with_core_mock()
    self.init_stdout_recording()
    error_handler.FrameworkAbort(message)
    stdout_content = self.get_recorded_stdout_and_close()
    assert_that((stdout_content is not None))

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