cherrypy.test.test_session module

class cherrypy.test.test_session.MemcachedSessionTest(methodName='runTest')[source]

Bases: cherrypy.test.helper.CPWebCase

pytestmark = [Mark(name='usefixtures', args=('memcached_configured',), kwargs={}), Mark(name='skipif', args=(False,), kwargs={'reason': 'pytest-services helper does not work under Windows'})]
static setup_server()
test_0_Session()[source]
test_1_Concurrency()[source]
test_3_Redirect()[source]
test_5_Error_paths()[source]
class cherrypy.test.test_session.SessionTest(methodName='runTest')[source]

Bases: cherrypy.test.helper.CPWebCase

_test_Concurrency()[source]
static setup_server()
classmethod teardown_class()[source]

Clean up sessions.

test_0_Session()[source]
test_1_Ram_Concurrency()[source]
test_2_File_Concurrency()[source]
test_3_Redirect()[source]
test_4_File_deletion()[source]
test_5_Error_paths()[source]
test_6_regenerate()[source]
test_7_session_cookies()[source]
test_8_Ram_Cleanup()[source]
cherrypy.test.test_session.http_methods_allowed(methods=['GET', 'HEAD'])[source]
cherrypy.test.test_session.is_memcached_present()[source]
cherrypy.test.test_session.memcached_client_present()[source]
cherrypy.test.test_session.memcached_configured(memcached_instance, monkeypatch, memcached_client_present)[source]
cherrypy.test.test_session.memcached_instance(request, watcher_getter, memcached_server_present)[source]

Start up an instance of memcached.

cherrypy.test.test_session.memcached_server_present()[source]
cherrypy.test.test_session.setup_server()[source]