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

def test_reverse_inner_in_streaming(self):

    settings.MIDDLEWARE_CLASSES += ((u'%s.ChangeURLconfMiddleware' % middleware.__name__), (u'%s.ReverseInnerInStreaming' % middleware.__name__))
    response = self.client.get(u'/second_test/')
    self.assertEqual(response.status_code, 200)
    self.assertEqual(''.join(response), '/second_test/')
