def do_logout(self, from_page='..', **kwargs):
        sess = cherrypy.session
        username = sess.get(self.session_key)
        sess[self.session_key] = None
        if username:
            cherrypy.serving.request.login = None
            self.on_logout(username)
        raise cherrypy.HTTPRedirect(from_page)
Test _Set().
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/cptools.py/SessionAuth.do_logout--crossover with--dataset/ETHPy150Open google/simian/src/tests/simian/settings_test.py/ModuleSettingsTest.testSet