def logout(self):
        session_cookie = self.cookies.get(settings.SESSION_COOKIE_NAME)
        if session_cookie:
            if self.session:
                self.session.delete(session_cookie)
            del self.cookies[settings.SESSION_COOKIE_NAME]
Removes the authenticated user's cookies and session object.
dataset/ETHPy150Open Bouke/django-user-sessions/user_sessions/utils/tests.py/Client.logout