cheroot.test package#
Submodules#
- cheroot.test._pytest_plugin module
- cheroot.test.conftest module
- cheroot.test.helper module
CherootWebCase
CherootWebCase._classSetupFailed
CherootWebCase._class_cleanups
CherootWebCase.assertEqualDates()
CherootWebCase.available_servers
CherootWebCase.date_tolerance
CherootWebCase.scheme
CherootWebCase.script_name
CherootWebCase.setup_class()
CherootWebCase.start()
CherootWebCase.stop()
CherootWebCase.teardown_class()
Controller
Request
Response
- cheroot.test.test__compat module
- cheroot.test.test_cli module
- cheroot.test.test_conn module
Controller
ErrorLogMonitor
ErrorLogMonitor.ErrorLogCall
ErrorLogMonitor.ErrorLogCall._asdict()
ErrorLogMonitor.ErrorLogCall._field_defaults
ErrorLogMonitor.ErrorLogCall._fields
ErrorLogMonitor.ErrorLogCall._make()
ErrorLogMonitor.ErrorLogCall._replace()
ErrorLogMonitor.ErrorLogCall.level
ErrorLogMonitor.ErrorLogCall.msg
ErrorLogMonitor.ErrorLogCall.traceback
FaultyGetMap
FaultySelect
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
CloseController
CloseResponse
HelloController
_get_http_response()
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_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
NonDataProperty
ServerError
WebCase
WebCase.HOST
WebCase.HTTP_CONN
WebCase.PORT
WebCase.PROTOCOL
WebCase._Conn
WebCase._classSetupFailed
WebCase._class_cleanups
WebCase._handlewebError()
WebCase.assertBody()
WebCase.assertHeader()
WebCase.assertHeaderIn()
WebCase.assertHeaderItemValue()
WebCase.assertInBody()
WebCase.assertMatchesBody()
WebCase.assertNoHeader()
WebCase.assertNoHeaderItemValue()
WebCase.assertNotInBody()
WebCase.assertStatus()
WebCase.body
WebCase.console_height
WebCase.encoding
WebCase.getPage()
WebCase.get_conn()
WebCase.headers
WebCase.interactive
WebCase.interface()
WebCase.persistent
WebCase.scheme
WebCase.set_persistent()
WebCase.ssl_context
WebCase.status
WebCase.status_code
WebCase.status_matches()
WebCase.time
WebCase.url
_open_url_once()
cleanHeaders()
getchar()
interface()
openURL()
server_error()
shb()
strip_netloc()
Module contents#
Cheroot test suite.