MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

Methodtest_starlette_websocket_echo
Test Starlette WebSocket echo.
tests/docker/asgi_compliance/test_framework_integration.py:153
Methodtest_start_already_running
Test that start is idempotent.
tests/ctl/test_server.py:142
Functiontest_start_reloader_after_load_wsgi
Check that the reloader is started after the wsgi app has been loaded.
tests/test_reload.py:54
Methodtest_start_stop
Test starting and stopping the server.
tests/ctl/test_server.py:115
Methodtest_start_worker_consumer_creates_queue_and_task
Test _start_worker_consumer creates queue and task.
tests/test_dirty_arbiter.py:1169
Methodtest_startup_called
Test that startup was called (via scope state).
tests/docker/asgi_compliance/test_lifespan_compliance.py:38
Methodtest_startup_complete
Test that lifespan startup completed.
tests/docker/asgi_compliance/test_lifespan_compliance.py:29
Methodtest_startup_complete_sets_flag
Startup complete should set the flag.
tests/test_asgi_lifespan.py:179
Methodtest_startup_custom_data
Custom data set during startup is available.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:30
Methodtest_startup_failed_exits_with_boot_error
(self, mode)
tests/test_asgi_lifespan.py:496
Methodtest_startup_failed_message_raises_startup_failed
An explicit lifespan.startup.failed is a definite failure.
tests/test_asgi_lifespan.py:292
Methodtest_startup_failed_raises_error
Startup failure should raise RuntimeError.
tests/test_asgi_lifespan.py:196
Methodtest_startup_sends_startup_event
Startup should send lifespan.startup event.
tests/test_asgi_lifespan.py:155
Methodtest_startup_time_recorded
Test that startup time was recorded.
tests/docker/asgi_compliance/test_lifespan_compliance.py:46
Methodtest_startup_time_set
Startup time was recorded.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:23
Methodtest_startup_timeout_raises_error
Startup timeout should raise RuntimeError.
tests/test_asgi_lifespan.py:363
Methodtest_startup_was_called
Startup handler was called.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:16
Functiontest_stash_counter
Test that global counter increments correctly.
examples/dirty_example/test_stash_integration.py:69
Methodtest_stash_error_base
Test base StashError.
tests/test_dirty_stash.py:119
Methodtest_stash_key_not_found_error
Test StashKeyNotFoundError.
tests/test_dirty_stash.py:131
Functiontest_stash_list_sessions
Test listing all sessions.
examples/dirty_example/test_stash_integration.py:96
Functiontest_stash_logout
Test session deletion.
examples/dirty_example/test_stash_integration.py:120
Methodtest_stash_message_roundtrip
Test encode/decode roundtrip for stash message.
tests/test_dirty_stash.py:72
Methodtest_stash_op_codes
Test stash operation codes are integers.
tests/test_dirty_stash.py:150
Methodtest_stash_operations_have_unique_codes
Test that all stash operations have unique codes.
tests/test_dirty_stash.py:86
Functiontest_stash_shared_state
Test that stash state is shared across workers.
examples/dirty_example/test_stash_integration.py:38
Methodtest_stash_table_name
Test StashTable name property.
tests/test_dirty_stash.py:106
Methodtest_stash_table_not_found_error
Test StashTableNotFoundError.
tests/test_dirty_stash.py:125
Methodtest_state_endpoint
Test state endpoint returns state info.
tests/docker/asgi_compliance/test_lifespan_compliance.py:94
Methodtest_state_in_http_scope
Test that state dict is included in HTTP scope.
tests/test_asgi_compliance.py:668
Methodtest_state_is_same_object
State should be the same object reference.
tests/test_asgi_lifespan.py:250
Methodtest_state_is_shallow_copy
ASGI lifespan spec: each request gets a shallow copy of the state.
tests/test_asgi_compliance.py:679
Methodtest_state_modifications_persist
Modifications to state persist.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:89
Methodtest_state_mutations_visible
State mutations should be visible to all references.
tests/test_asgi_lifespan.py:239
Methodtest_state_not_present_without_worker_state
Test that state is not in scope if worker has no state.
tests/test_asgi_compliance.py:693
Methodtest_state_persists_across_requests
State persists across multiple requests.
tests/docker/asgi_framework_compat/tests/test_lifespan_scope.py:65
Methodtest_state_values_exist
(self)
tests/test_http2_stream.py:26
Methodtest_states_are_unique
(self)
tests/test_http2_stream.py:35
Methodtest_stats
Test worker statistics.
examples/celery_alternative/tests/test_tasks.py:75
Methodtest_stats
Test worker statistics.
examples/celery_alternative/tests/test_tasks.py:151
Methodtest_stats
Test worker statistics.
examples/celery_alternative/tests/test_tasks.py:247
Methodtest_stats_tracks_runs
Test that stats tracks task runs.
examples/celery_alternative/tests/test_tasks.py:298
Functiontest_statsd_changes_logger
()
tests/test_config.py:424
Functiontest_statsd_fail
UDP socket fails
tests/test_statsd.py:57
Functiontest_statsd_host
()
tests/test_config.py:400
Functiontest_statsd_host_initialization
()
tests/test_statsd.py:69
Functiontest_statsd_host_with_unix_as_hostname
()
tests/test_config.py:413
Functiontest_statsd_logger_skips_default_pre_request_when_not_debug
()
tests/test_asgi_config_cache.py:171
Functiontest_statsd_socket_address_family
(address, family, destination)
tests/test_statsd.py:201
Methodtest_status_100_continue
Handle 100 status (may not be supported by all frameworks).
tests/docker/asgi_framework_compat/tests/test_http_messages.py:77
Methodtest_status_codes
Test various HTTP status codes.
tests/docker/asgi_compliance/test_http_compliance.py:112
Methodtest_status_codes
Status endpoint returns correct status code.
tests/docker/asgi_framework_compat/tests/test_http_messages.py:71
Methodtest_status_codes
Test various HTTP status codes.
tests/docker/http2/test_http2_docker.py:89
Functiontest_status_line_has_the_standard_reason_phrase
The error text quotes the request, so it goes in the body, never in the status line (RFC 9112 section 4).
tests/test_asgi_parse_error_response.py:71
Methodtest_stop_cancels_all_consumers
Test stop() cancels all consumer tasks.
tests/test_dirty_arbiter.py:1238
Methodtest_stop_for_fork_joins_thread_started_immediately
_stop_for_fork must stop the thread even with no startup delay. Calling _stop_for_fork right after start() lands in the window before
tests/ctl/test_server.py:170
Methodtest_stop_graceful
Test graceful stop with no workers.
tests/test_dirty_arbiter.py:881
Methodtest_stop_not_graceful
Test non-graceful stop.
tests/test_dirty_arbiter.py:896
Methodtest_stop_not_running
Test stopping a non-running server.
tests/ctl/test_server.py:158
Functiontest_str
()
tests/test_config.py:556
Functiontest_str_headers_built_only_when_read
(kind)
tests/test_asgi_request_build.py:115
Methodtest_str_representation
Test string representation.
tests/test_dirty_worker.py:121
Functiontest_str_to_addr_list_validation
()
tests/test_config.py:168
Functiontest_str_to_list
()
tests/test_config.py:197
Functiontest_str_validation
()
tests/test_config.py:160
Methodtest_stream_async_returns_async_iterator
Test that stream_async() returns an async iterator.
tests/dirty/test_client_streaming_async.py:71
Methodtest_stream_at_or_below_last_stream_id_is_served
A stream the peer said it would still process is served.
tests/test_http2_connection.py:1646
Methodtest_stream_chunks_received
Test that chunks are received incrementally.
tests/docker/asgi_compliance/test_streaming_compliance.py:57
Methodtest_stream_closed
(self)
tests/test_http2_errors.py:55
Methodtest_stream_credit_returns_only_for_what_the_app_read
(self)
tests/test_http2_connection.py:1354
Methodtest_stream_ended_sets_body_complete
_handle_stream_ended must set stream._body_complete = True.
tests/test_http2_connection.py:1016
Methodtest_stream_ended_signals_body_event
_handle_stream_ended must signal _body_event if it exists.
tests/test_http2_connection.py:1056
Methodtest_stream_ended_without_body_event_does_not_raise
_handle_stream_ended must not raise when _body_event is None.
tests/test_http2_connection.py:1101
Methodtest_stream_error_default_message
(self)
tests/test_http2_errors.py:158
Methodtest_stream_error_str
(self)
tests/test_http2_errors.py:153
Methodtest_stream_error_with_error_code
(self)
tests/test_http2_errors.py:163
Methodtest_stream_id_in_error
(self)
tests/test_http2_errors.py:149
Methodtest_stream_id_zero
(self)
tests/test_http2_stream.py:89
Methodtest_stream_iterator_empty_stream
Test that empty stream (just end) works.
tests/dirty/test_client_streaming.py:119
Methodtest_stream_iterator_handles_error
Test that stream iterator raises on error message.
tests/dirty/test_client_streaming.py:100
Methodtest_stream_iterator_stops_after_exhausted
Test that iterator stays exhausted after StopIteration.
tests/dirty/test_client_streaming.py:127
Methodtest_stream_iterator_with_for_loop
Test stream iterator works in for loop.
tests/dirty/test_client_streaming.py:149
Methodtest_stream_iterator_yields_chunks
Test that stream iterator yields chunks correctly.
tests/dirty/test_client_streaming.py:71
Methodtest_stream_iterator_yields_complex_chunks
Test that stream iterator yields complex data types.
tests/dirty/test_client_streaming.py:85
Methodtest_stream_lines
Test streaming response line by line.
tests/docker/asgi_compliance/test_streaming_compliance.py:73
Methodtest_stream_many_chunks
Test streaming with many chunks.
tests/dirty/test_client_streaming.py:198
Methodtest_stream_opened_after_goaway_is_refused
(self)
tests/test_http2_connection.py:1591
Methodtest_stream_opened_after_max_requests_is_refused
(self)
tests/test_http2_h2c.py:1417
Methodtest_stream_reset_by_server
Test server resetting a stream.
tests/test_http2_integration.py:362
Methodtest_stream_reset_lifecycle
Test a stream that gets reset.
tests/test_http2_stream.py:674
Methodtest_stream_returns_iterator
Test that stream() returns an iterator.
tests/dirty/test_client_streaming.py:65
Methodtest_stream_sends_request_on_first_iteration
Test that request is sent on first next() call.
tests/dirty/test_client_streaming.py:165
Methodtest_stream_variable_chunk_sizes
Test streaming with variable chunk sizes.
tests/docker/asgi_compliance/test_streaming_compliance.py:65
Methodtest_stream_with_complex_data
Test streaming with complex JSON-serializable data.
tests/dirty/test_streaming_integration.py:437
Methodtest_stream_with_kwargs
Test streaming with keyword arguments.
tests/dirty/test_client_streaming.py:213
Functiontest_streamed_upload_is_echoed_in_full
(server, client)
tests/test_http2_live.py:196
Methodtest_streaming_and_http_concurrent
Test concurrent streaming and regular HTTP requests.
tests/docker/asgi_compliance/test_concurrency.py:186
Methodtest_streaming_content_type
Streaming response has correct content type.
tests/docker/asgi_framework_compat/tests/test_streaming.py:28
Methodtest_streaming_dict_chunks
Test streaming chunks that are dictionaries.
tests/dirty/test_worker_streaming.py:306
Methodtest_streaming_empty_generator
Test streaming with empty generator.
tests/dirty/test_worker_streaming.py:329
← previousnext →5,001–5,100 of 5,599, ranked by callers