'Test request object after logging out to see whether it
has \'is_from_log_out\' attribute set to true.'

def test_request_attr_on_logout(self):

    response = self.client.get(reverse('logout'))
    self.assertTrue(getattr(response.wsgi_request, 'is_from_logout', False))
