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

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

    message = "Reverse    for    'outer'    not    found."
    with self.assertRaisesMessage(NoReverseMatch, message):
        self.client.get('/second_test/')
