'If the application calls I{start_response} but then raises an exception
before any data is written to the response then the response status is
I{500} and the exception is logged.'

def test_applicationExceptionAfterStartResponse(self):

    def application(environ, startResponse):
        startResponse('200    OK', [])
        raise RuntimeError('This    application    had    some    error.')
    return self._internalServerErrorTest(application)
