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

def test_reverse_outer_in_streaming(self):

    settings.MIDDLEWARE_CLASSES += ((u'%s.ChangeURLconfMiddleware' % middleware.__name__), (u'%s.ReverseOuterInStreaming' % middleware.__name__))
    message = u"Reverse    for    'outer'    with    arguments    '()'    and    keyword    arguments    '{}'    not    found."
    with self.assertRaisesMessage(NoReverseMatch, message):
        self.client.get(u'/second_test/')
        ''.join(self.client.get(u'/second_test/'))
