'Logout with next_page option given redirects to specified resource'

def test_logout_with_next_page_specified(self):

    self.login()
    response = self.client.get('/logout/next_page/')
    self.assertRedirects(response, '/somewhere/', fetch_redirect_response=False)
    self.confirm_logged_out()
