cherrypy.test package¶
Submodules¶
- cherrypy.test._test_decorators module
- cherrypy.test._test_states_demo module
- cherrypy.test.benchmark module
- cherrypy.test.checkerdemo module
- cherrypy.test.helper module
CPProcess
CPWebCase
CPWebCase._setup_server()
CPWebCase.assertEqualDates()
CPWebCase.assertErrorPage()
CPWebCase.available_servers
CPWebCase.base()
CPWebCase.date_tolerance
CPWebCase.default_server
CPWebCase.do_gc_test
CPWebCase.exit()
CPWebCase.getPage()
CPWebCase.prefix()
CPWebCase.scheme
CPWebCase.script_name
CPWebCase.setup_class()
CPWebCase.skip()
CPWebCase.teardown_class()
CPWebCase.test_gc()
LocalSupervisor
LocalWSGISupervisor
NativeServerSupervisor
Supervisor
_test_method_sorter()
get_cpmodpy_supervisor()
get_modfastcgi_supervisor()
get_modfcgid_supervisor()
get_modpygw_supervisor()
get_modwsgi_supervisor()
get_wsgi_u_supervisor()
log_to_stderr()
setup_client()
- cherrypy.test.logtest module
- cherrypy.test.modfastcgi module
- cherrypy.test.modfcgid module
- cherrypy.test.modpy module
- cherrypy.test.modwsgi module
- cherrypy.test.sessiondemo module
- cherrypy.test.test_auth_basic module
- cherrypy.test.test_auth_digest module
- cherrypy.test.test_bus module
- cherrypy.test.test_caching module
- cherrypy.test.test_config module
- cherrypy.test.test_config_server module
- cherrypy.test.test_conn module
BadRequestTests
ConnectionCloseTests
ConnectionTests
ConnectionTests.setup_server()
ConnectionTests.test_598()
ConnectionTests.test_Chunked_Encoding()
ConnectionTests.test_Content_Length_in()
ConnectionTests.test_Content_Length_out_postheaders()
ConnectionTests.test_Content_Length_out_preheaders()
ConnectionTests.test_No_Message_Body()
ConnectionTests.test_readall_or_close()
LimitedRequestQueueTests
PipelineTests
setup_server()
setup_upload_server()
socket_reset_errors
- cherrypy.test.test_core module
CoreRequestHandlingTest
CoreRequestHandlingTest.setup_server()
CoreRequestHandlingTest.skip_if_bad_cookies()
CoreRequestHandlingTest.testCookies()
CoreRequestHandlingTest.testDefaultContentType()
CoreRequestHandlingTest.testFavicon()
CoreRequestHandlingTest.testFlatten()
CoreRequestHandlingTest.testRanges()
CoreRequestHandlingTest.testRedirect()
CoreRequestHandlingTest.testSlashes()
CoreRequestHandlingTest.testStatus()
CoreRequestHandlingTest.test_InternalRedirect()
CoreRequestHandlingTest.test_cherrypy_url()
CoreRequestHandlingTest.test_expose_decorator()
CoreRequestHandlingTest.test_multiple_headers()
CoreRequestHandlingTest.test_on_end_resource_status()
CoreRequestHandlingTest.test_redirect_with_unicode()
CoreRequestHandlingTest.test_redirect_with_xss()
ErrorTests
TestBinding
- cherrypy.test.test_dynamicobjectmapping module
- cherrypy.test.test_encoding module
EncodingTests
EncodingTests.setup_server()
EncodingTests.testEncoding()
EncodingTests.testGzip()
EncodingTests.test_BytesHeaders()
EncodingTests.test_UnicodeHeaders()
EncodingTests.test_decode_tool()
EncodingTests.test_multipart_decoding()
EncodingTests.test_multipart_decoding_bigger_maxrambytes()
EncodingTests.test_multipart_decoding_no_charset()
EncodingTests.test_multipart_decoding_no_successful_charset()
EncodingTests.test_nontext()
EncodingTests.test_query_string_decoding()
EncodingTests.test_urlencoded_decoding()
- cherrypy.test.test_etags module
- cherrypy.test.test_http module
HTTPTests
HTTPTests.make_connection()
HTTPTests.setup_server()
HTTPTests.test_garbage_in()
HTTPTests.test_http_over_https()
HTTPTests.test_malformed_header()
HTTPTests.test_malformed_request_line()
HTTPTests.test_no_content_length()
HTTPTests.test_post_filename_with_special_characters()
HTTPTests.test_post_multipart()
HTTPTests.test_request_line_split_issue_1220()
encode_filename()
encode_multipart_formdata()
is_ascii()
- cherrypy.test.test_httputil module
- cherrypy.test.test_iterator module
- cherrypy.test.test_json module
- cherrypy.test.test_logging module
- cherrypy.test.test_mime module
- cherrypy.test.test_misc_tools module
- cherrypy.test.test_native module
- cherrypy.test.test_objectmapping module
ObjectMappingTest
ObjectMappingTest.setup_server()
ObjectMappingTest.testExpose()
ObjectMappingTest.testKeywords()
ObjectMappingTest.testMethodDispatch()
ObjectMappingTest.testObjectMapping()
ObjectMappingTest.testPositionalParams()
ObjectMappingTest.testTreeMounting()
ObjectMappingTest.test_redir_using_url()
ObjectMappingTest.test_translate()
- cherrypy.test.test_params module
- cherrypy.test.test_plugins module
- cherrypy.test.test_proxy module
- cherrypy.test.test_refleaks module
- cherrypy.test.test_request_obj module
RequestObjectTests
RequestObjectTests.setup_server()
RequestObjectTests.testAbsoluteURIPathInfo()
RequestObjectTests.testEmptyThreadlocals()
RequestObjectTests.testErrorHandling()
RequestObjectTests.testExpect()
RequestObjectTests.testHeaderElements()
RequestObjectTests.testParamErrors()
RequestObjectTests.testParams()
RequestObjectTests.testRelativeURIPathInfo()
RequestObjectTests.test_CONNECT_method()
RequestObjectTests.test_CONNECT_method_invalid_authority()
RequestObjectTests.test_basic_HTTPMethods()
RequestObjectTests.test_dangerous_host()
RequestObjectTests.test_encoded_headers()
RequestObjectTests.test_header_presence()
RequestObjectTests.test_per_request_uuid4()
RequestObjectTests.test_repeated_headers()
RequestObjectTests.test_scheme()
- cherrypy.test.test_routes module
- cherrypy.test.test_session module
MemcachedSessionTest
SessionTest
SessionTest._test_Concurrency()
SessionTest.setup_server()
SessionTest.teardown_class()
SessionTest.test_0_Session()
SessionTest.test_1_Ram_Concurrency()
SessionTest.test_2_File_Concurrency()
SessionTest.test_3_Redirect()
SessionTest.test_4_File_deletion()
SessionTest.test_5_Error_paths()
SessionTest.test_6_regenerate()
SessionTest.test_7_session_cookies()
SessionTest.test_8_Ram_Cleanup()
http_methods_allowed()
is_memcached_present()
memcached_client_present()
memcached_configured()
memcached_instance()
memcached_server_present()
setup_server()
- cherrypy.test.test_sessionauthenticate module
- cherrypy.test.test_states module
- cherrypy.test.test_static module
StaticTest
StaticTest.files_to_remove
StaticTest.setup_server()
StaticTest.teardown_class()
StaticTest.test_755_vhost()
StaticTest.test_config_errors()
StaticTest.test_error_page_with_serve_file()
StaticTest.test_fallthrough()
StaticTest.test_file_stream()
StaticTest.test_file_stream_deadlock()
StaticTest.test_index()
StaticTest.test_modif()
StaticTest.test_null_bytes()
StaticTest.test_security()
StaticTest.test_serve_bytesio()
StaticTest.test_serve_fileobj()
StaticTest.test_static()
StaticTest.test_static_longpath()
StaticTest.test_unicode()
StaticTest.unicode_file()
_check_unicode_filesystem()
ensure_unicode_filesystem()
error_page_404()
unicode_filesystem()
- cherrypy.test.test_tools module
- cherrypy.test.test_tutorials module
TutorialTest
TutorialTest.load_module()
TutorialTest.setup_server()
TutorialTest.setup_tutorial()
TutorialTest.test01HelloWorld()
TutorialTest.test02ExposeMethods()
TutorialTest.test03GetAndPost()
TutorialTest.test04ComplexSite()
TutorialTest.test05DerivedObjects()
TutorialTest.test06DefaultMethod()
TutorialTest.test07Sessions()
TutorialTest.test08GeneratorsAndYield()
TutorialTest.test09Files()
TutorialTest.test10HTTPErrors()
- cherrypy.test.test_virtualhost module
- cherrypy.test.test_wsgi_ns module
- cherrypy.test.test_wsgi_unix_socket module
- cherrypy.test.test_wsgi_vhost module
- cherrypy.test.test_wsgiapps module
- cherrypy.test.test_xmlrpc module
- cherrypy.test.webtest module
Module contents¶
Regression test suite for CherryPy.