Source

CherryPy / cherrypy / test / test_session.py

Author Commit Message Labels Comments Date
Sylvain Hellegouarch
fixed test error message which wasn't what was expected
Branches
cherrypy-3.1.x
Robert Brewer
Merge from trunk for today's fixes [2072] to [2080].
Tags
cherrypy-3.1.1
Branches
cherrypy-3.1.x
Robert Brewer
Various session fixes, including #717 (sessions should have a __len__ function).
Robert Brewer
Half of the fix for #717 (sessions should have a __len__ function). Not implemented yet for PG, Memcached.
Robert Brewer
Fix for #709 (Cherrypy accepts user-supplied session identifiers). Also fixed some problems with regenerated id's.
Robert Brewer
Removing decorator in test_session for Python 2.3 compatibility
Robert Brewer
Fix for #710 (Allow forcing a new session id).
Robert Brewer
Oops.
Robert Brewer
Doc updates, better memcached detection in test_session, and changed cherrypy.url to be more easily mockable.
Robert Brewer
New MemcachedSession class. The Session class API had to change a bit: 'setup' must now be a classmethod.
Robert Brewer
Better trunk fix for #680 (session init bugs).
Robert Brewer
Fix for #640 (cherrypy.session does not implement {{{__contains__}}}).
Robert Brewer
Added {{{__delitem__}}} to ThreadLocalProxy to support {{{del cherrypy.session[key]}}}.
Robert Brewer
Fixed hang on InternalRedirect with sessions tool.
Robert Brewer
Fix for #525 (Support Deleting Sessions).
Robert Brewer
Overhaul of config system:
Robert Brewer
Made all imports absolute "just in case" for Python 2.5.
Robert Brewer
Revamped session module. Much better tests. Cleanup is now in a separate, cycling Timer thread (with an entry in on_stop_engine_list). Moved cherrypy.request._session to cherrypy.serving.session.
Robert Brewer
Removed "filter" from lots of places, including renaming of tests.