249
251
self.assertEqual(1, len(self.oopses))
252
254
# runtime_failing_app doesn't call start_response, but oops_middleware
253
255
# does because it tries to send the OOPS information to the user.
254
256
self.assertTrue(self.start_response_called)
256
258
''.join(self._response_chunks))
258
260
def test_ignores_socket_exceptions(self):