Source

CherryPy / cherrypy / test / test_session.py

Author Commit Message Labels Comments Date
Robert Brewer
Oops. Fixed #1082 better.
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
Removed test.py etc.
Joseph Tate
Convert the tests to use nose instead of our own runner. This strips out much coverage and profiling (handled by nose) and lets you focus on writing tests. The biggest changes that have to be done in the tests classes is you have to put the "setup_server" method on the class(es) that need them when running. If you need it for multiple classes, you can use staticmethod() to attach it to multiple classes without using inheritance.
Robert Brewer
test_session bugfix, plus a couple tweaks.
Robert Brewer
Removed py3print.
Lakin Wecker
trunk - adding a py3util module that will normalize as many differences between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b''
Lakin Wecker
trunk - removing backticks in favor of repr
Robert Brewer
False alarm. The id was regenerated each time because the test never loaded the session.
Robert Brewer
New test showing broken session ids in cookies.
Robert Brewer
Moved "environment: test_suite" out of individual tests and into helper.py. Moved setup_server() call out of individual tests and into helper.py. Added a new test for per-handler max_request_body_size shenanigans.
Robert Brewer
Whew. Fixed the whole test suite to properly handle the --host arg.
Robert Brewer
Fix for #870 (Support "session cookies" which flush on browser close).
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: 1. New docstring for config module! 2. Put all entries into a config namespace. New deadlock, log, request and response namespaces. 3. Request and response entries now directly modify attributes of cherrypy.request and .response, and consumer code looks up those attributes, not config. This also allows interactive inspection of defaults. 4. Removed 'log_config' config entry. Use engine.on_star…
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.
  1. Prev
  2. 1
  3. 2
  4. Next