'Test logout page at /logout'

def test_user_logout(self):

    response = self.client.get(reverse('user_logout'))
    self.assertRedirects(response, reverse('user_login'))
    self.assertNotIn('_auth_user_id', self.client.session)
