def test_no_exit_pk(self):
        response = self.client.get(reverse('su_logout'))
        self.assertEqual(response.status_code, 400)
Ensure logout fails if no exit pk present in session
dataset/ETHPy150Open adamcharnock/django-su/django_su/tests/test_views.py/LogoutViewTestCase.test_no_exit_pk