cheroot.test package#
Subpackages#
Submodules#
- cheroot.test._pytest_plugin module
- cheroot.test.conftest module
- cheroot.test.helper module
CherootWebCaseCherootWebCase._classSetupFailedCherootWebCase._class_cleanupsCherootWebCase.assertEqualDates()CherootWebCase.available_serversCherootWebCase.date_toleranceCherootWebCase.schemeCherootWebCase.script_nameCherootWebCase.setup_class()CherootWebCase.start()CherootWebCase.stop()CherootWebCase.teardown_class()
ControllerRequestResponse
- cheroot.test.test__compat module
- cheroot.test.test_cli module
- cheroot.test.test_conn module
ControllerErrorLogMonitorErrorLogMonitor.ErrorLogCallErrorLogMonitor.ErrorLogCall._asdict()ErrorLogMonitor.ErrorLogCall._field_defaultsErrorLogMonitor.ErrorLogCall._fieldsErrorLogMonitor.ErrorLogCall._make()ErrorLogMonitor.ErrorLogCall._replace()ErrorLogMonitor.ErrorLogCall.levelErrorLogMonitor.ErrorLogCall.msgErrorLogMonitor.ErrorLogCall.traceback
FaultyGetMapFaultySelectWSGICallablesWSGICallables._munge()WSGICallables.custom_204()WSGICallables.custom_304()WSGICallables.err_before_read()WSGICallables.hello()WSGICallables.one_megabyte_of_a()WSGICallables.pov()WSGICallables.stream()WSGICallables.upload()WSGICallables.wrong_cl_buffered()WSGICallables.wrong_cl_unbuffered()
header_exists()header_has_value()raw_testing_server()test_100_Continue()test_598()test_Chunked_Encoding()test_Content_Length_in()test_Content_Length_not_int()test_Content_Length_out()test_HTTP11_Timeout()test_HTTP11_Timeout_after_request()test_HTTP11_persistent_connections()test_HTTP11_pipelining()test_No_CRLF()test_No_Message_Body()test_broken_connection_during_http_communication_fallback()test_broken_connection_during_tcp_fin()test_client()test_invalid_selected_connection()test_kb_int_from_http_handler()test_keepalive()test_keepalive_conn_management()test_readall_or_close()test_remains_alive_post_unhandled_exception()test_streaming_10()test_streaming_11()test_unhandled_exception_in_request_handler()testing_server()
- cheroot.test.test_core module
CloseControllerCloseResponseHelloControllerWSGICallables_get_http_response()_munge()test_client()test_client_with_defaults()test_content_length_required()test_garbage_in()test_http_connect_request()test_large_request()test_malformed_header()test_malformed_http_method()test_malformed_request_line()test_no_content_length()test_normal_request()test_parse_acceptable_uri()test_parse_no_leading_slash_invalid()test_parse_uri_absolute_uri()test_parse_uri_asterisk_uri()test_parse_uri_fragment_uri()test_parse_uri_invalid_uri()test_parse_uri_unsafe_uri()test_query_string_request()test_request_line_split_issue_1220()test_send_header_before_closing()testing_server()testing_server_close()testing_server_with_defaults()
- cheroot.test.test_dispatch module
- cheroot.test.test_errors module
- cheroot.test.test_makefile module
- cheroot.test.test_server module
_TestGateway_garbage_bin()many_open_sockets()peercreds_enabled_server()resource_limit()test_bind_addr_inet()test_bind_addr_unix()test_bind_addr_unix_abstract()test_high_number_of_file_descriptors()test_overload_results_in_suitable_http_error()test_peercreds_unix_sock()test_peercreds_unix_sock_with_lookup()test_prepare_makes_server_ready()test_reuse_port()test_server_interrupt()test_serving_is_false_and_stop_returns_after_ctrlc()test_stop_interrupts_serve()test_threadpool_invalid_threadrange()test_threadpool_multistart_validation()test_threadpool_threadrange_set()unix_abstract_sock()unix_file_sock()unix_sock_file()
- cheroot.test.test_ssl module
HelloWorldGateway_thread_except_hook()ca()make_tls_http_server()test_http_over_https_error()test_https_over_http_error()test_ssl_adapters()test_ssl_env()test_tls_client_auth()thread_exceptions()tls_ca_certificate_pem_path()tls_certificate()tls_certificate_chain_pem_path()tls_certificate_private_key_pem_path()tls_http_server()
- cheroot.test.test_wsgi module
- cheroot.test.webtest module
- Framework Integration
NonDataPropertyServerErrorWebCaseWebCase.HOSTWebCase.HTTP_CONNWebCase.PORTWebCase.PROTOCOLWebCase._ConnWebCase._classSetupFailedWebCase._class_cleanupsWebCase._handlewebError()WebCase.assertBody()WebCase.assertHeader()WebCase.assertHeaderIn()WebCase.assertHeaderItemValue()WebCase.assertInBody()WebCase.assertMatchesBody()WebCase.assertNoHeader()WebCase.assertNoHeaderItemValue()WebCase.assertNotInBody()WebCase.assertStatus()WebCase.bodyWebCase.console_heightWebCase.encodingWebCase.getPage()WebCase.get_conn()WebCase.headersWebCase.interactiveWebCase.interface()WebCase.persistentWebCase.schemeWebCase.set_persistent()WebCase.ssl_contextWebCase.statusWebCase.status_codeWebCase.status_matches()WebCase.timeWebCase.url
_open_url_once()cleanHeaders()getchar()interface()openURL()server_error()shb()strip_netloc()
Module contents#
Cheroot test suite.