def test_bodyDataReceivedAfterDeliveryFails(self):
        response = justTransportResponse(StringTransport())
        response._bodyDataFinished()
        response.deliverBody(Protocol())
        self.assertRaises(RuntimeError, response._bodyDataReceived, b'foo')
Get a list of failed (due to error, not killed) jobs
dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/ResponseTests.test_bodyDataReceivedAfterDeliveryFails--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/gen-py/hadoop/api/jobtracker/Jobtracker.py/Client.getFailedJobs