def test_logout_with_named_redirect(self):
        self.login()
        response = self.client.get('/logout/next_page/named/')
        self.assertEqual(response.status_code, 302)
        self.assertURLEqual(response.url, '/password_reset/')
        self.confirm_logged_out()
Logout resolves names or URLs passed as next_page.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/auth/tests/test_views.py/LogoutTest.test_logout_with_named_redirect