'Test reversing an URL from the *overridden* URLconf from inside
a streaming response.'

@override_settings(MIDDLEWARE=[('%s.ChangeURLconfMiddleware' % middleware.__name__), ('%s.ReverseInnerInStreaming' % middleware.__name__)])
def test_reverse_inner_in_streaming(self):

    response = self.client.get('/second_test/')
    self.assertEqual(response.status_code, 200)
    self.assertEqual(''.join(response), '/second_test/')
