def logout(self):
        session = import_module(settings.SESSION_ENGINE).SessionStore()
        session_cookie = self.cookies.get(settings.SESSION_COOKIE_NAME)
        if session_cookie:
            session.delete(session_key=session_cookie.value)
        self.cookies = SimpleCookie()
Removes the authenticated user's cookies and session object.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/test/client.py/Client.logout