2387
2387
def test_interrupted_by_error(self):
2397
2388
response_handler = self.make_response_handler(interrupted_body_stream)
2398
2389
stream = response_handler.read_streamed_body()
2401
2392
exc = self.assertRaises(errors.ErrorFromSmartServer, stream.next)
2404
2395
def test_interrupted_by_connection_lost(self):
2405
2396
interrupted_body_stream = (