MCPcopy Create free account

hub / github.com/aio-libs/aiohttp / functions

Functions5,960 in github.com/aio-libs/aiohttp

Functiontest_tcp_connector_close_abort_ssl_connections_in_conns
Test that SSL connections in _conns are aborted when ssl_shutdown_timeout=0.
tests/test_connector.py:2447
Functiontest_tcp_connector_close_abort_ssl_when_shutdown_timeout_zero
Test that close() uses abort() for SSL connections when ssl_shutdown_timeout=0.
tests/test_connector.py:2250
Functiontest_tcp_connector_close_doesnt_abort_non_ssl_when_shutdown_timeout_zero
Test that close() still uses close() for non-SSL connections even when ssl_shutdown_timeout=0.
tests/test_connector.py:2280
Functiontest_tcp_connector_close_race_condition
Test closing TCPConnector while DNS resolution is in-flight.
tests/test_connector.py:4616
Functiontest_tcp_connector_close_resolver
()
tests/test_connector.py:1600
Functiontest_tcp_connector_ctor
()
tests/test_connector.py:2097
Functiontest_tcp_connector_ctor_fingerprint_valid
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:2640
Functiontest_tcp_connector_dns_cache_forever
(loop, dns_response)
tests/test_connector.py:1342
Functiontest_tcp_connector_dns_cache_not_expired
(loop, dns_response)
tests/test_connector.py:1330
Functiontest_tcp_connector_dns_throttle_requests
(loop, dns_response)
tests/test_connector.py:1371
Functiontest_tcp_connector_dns_throttle_requests_cancelled_when_close
( loop, dns_response )
tests/test_connector.py:1403
Functiontest_tcp_connector_dns_throttle_requests_exception_spread
(loop)
tests/test_connector.py:1385
Functiontest_tcp_connector_dns_tracing
(loop, dns_response)
tests/test_connector.py:1466
Functiontest_tcp_connector_dns_tracing_cache_disabled
(loop, dns_response)
tests/test_connector.py:1512
Functiontest_tcp_connector_dns_tracing_throttle_requests
(loop, dns_response)
tests/test_connector.py:1568
Functiontest_tcp_connector_do_not_raise_connector_ssl_error
( aiohttp_server, ssl_ctx, client_ssl_ctx, host, )
tests/test_connector.py:3971
Functiontest_tcp_connector_family_is_respected
(loop: Any)
tests/test_connector.py:1089
Functiontest_tcp_connector_fingerprint_fail
( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, )
tests/test_client_functional.py:877
Functiontest_tcp_connector_fingerprint_ok
( aiohttp_server, aiohttp_client, ssl_ctx, tls_certificate_fingerprint_sha256, )
tests/test_client_functional.py:850
Functiontest_tcp_connector_happy_eyeballs
( loop: Any, happy_eyeballs_delay: float | None )
tests/test_connector.py:930
Functiontest_tcp_connector_interleave
(loop: Any)
tests/test_connector.py:1002
Functiontest_tcp_connector_multiple_hosts_errors
(loop)
tests/test_connector.py:763
Functiontest_tcp_connector_multiple_hosts_one_timeout
( loop: asyncio.AbstractEventLoop, request_url: str, )
tests/test_connector.py:1157
Functiontest_tcp_connector_raise_connector_ssl_error
( aiohttp_server, ssl_ctx, )
tests/test_connector.py:3929
Functiontest_tcp_connector_rejects_non_canonical_ipv4_alias
Legacy numeric IPv4 aliases must not bypass the configured resolver.
tests/test_connector.py:1290
Functiontest_tcp_connector_resolve_host
(loop: asyncio.AbstractEventLoop)
tests/test_connector.py:1269
Functiontest_tcp_connector_server_hostname_default
( loop: Any, start_connection: mock.AsyncMock )
tests/test_connector.py:725
Functiontest_tcp_connector_server_hostname_override
( loop: Any, start_connection: mock.AsyncMock )
tests/test_connector.py:743
Functiontest_tcp_connector_socket_factory
Check that socket factory is called
tests/test_connector.py:4455
Functiontest_tcp_connector_ssl_shutdown_timeout
( loop: asyncio.AbstractEventLoop, )
tests/test_connector.py:2111
Functiontest_tcp_connector_ssl_shutdown_timeout_nonzero_passed
Test that non-zero ssl_shutdown_timeout IS passed to create_connection on Python 3.11+.
tests/test_connector.py:2419
Functiontest_tcp_connector_ssl_shutdown_timeout_not_passed_pre_311
( loop: asyncio.AbstractEventLoop, start_connection: mock.AsyncMock )
tests/test_connector.py:2220
Functiontest_tcp_connector_ssl_shutdown_timeout_passed_to_create_connection
( loop: asyncio.AbstractEventLoop, start_connection: mock.AsyncMock )
tests/test_connector.py:2159
Functiontest_tcp_connector_ssl_shutdown_timeout_pre_311
Test that both deprecation and runtime warnings are issued on Python < 3.11.
tests/test_connector.py:2140
Functiontest_tcp_connector_ssl_shutdown_timeout_sentinel_no_warning_pre_311
Test that no warning is issued when sentinel is used on Python < 3.11.
tests/test_connector.py:2371
Functiontest_tcp_connector_ssl_shutdown_timeout_warning_pre_311
Test that a warning is issued for non-zero ssl_shutdown_timeout on Python < 3.11.
tests/test_connector.py:2310
Functiontest_tcp_connector_ssl_shutdown_timeout_zero_no_warning_pre_311
Test that no warning is issued for ssl_shutdown_timeout=0 on Python < 3.11.
tests/test_connector.py:2351
Functiontest_tcp_connector_ssl_shutdown_timeout_zero_not_passed
Test that ssl_shutdown_timeout=0 is NOT passed to create_connection.
tests/test_connector.py:2388
Functiontest_tcp_connector_use_dns_cache_disabled
(loop, dns_response)
tests/test_connector.py:1354
Functiontest_tcp_connector_uses_provided_local_addr
(aiohttp_server)
tests/test_connector.py:4030
Functiontest_tcp_nodelay_enable
()
tests/test_tcp_helpers.py:34
Functiontest_tcp_nodelay_enable_and_disable
()
tests/test_tcp_helpers.py:42
Functiontest_tcp_nodelay_enable_ipv6
()
tests/test_tcp_helpers.py:53
Functiontest_tcp_nodelay_enable_no_socket
()
tests/test_tcp_helpers.py:71
Functiontest_tcp_nodelay_enable_unix
()
tests/test_tcp_helpers.py:62
Functiontest_tcp_nodelay_exception
()
tests/test_tcp_helpers.py:23
Functiontest_tcpsite_default_host
(make_runner: Any)
tests/test_web_runner.py:164
Functiontest_tcpsite_empty_str_host
(make_runner: Any)
tests/test_web_runner.py:182
Functiontest_tcpsite_ephemeral_port
(make_runner: Any)
tests/test_web_runner.py:243
Functiontest_te_header_non_ascii
(parser: HttpRequestParser)
tests/test_http_parser.py:952
Functiontest_template_based_header_construction
Test that the template-based header construction works correctly.
tests/test_client_middleware_digest_auth.py:580
Functiontest_ten_compressed_responses_iter_chunked_1mb
Benchmark compressed GET request read via large iter_chunked.
tests/test_benchmarks_client.py:514
Functiontest_ten_streamed_responses_iter_any
Benchmark 10 streamed responses using iter_any.
tests/test_benchmarks_client.py:416
Functiontest_ten_streamed_responses_iter_chunked_1mb
Benchmark 10 streamed responses using iter_chunked 1 MiB.
tests/test_benchmarks_client.py:480
Functiontest_ten_streamed_responses_iter_chunked_4096
Benchmark 10 streamed responses using iter_chunked 4096.
tests/test_benchmarks_client.py:448
Functiontest_ten_streamed_responses_iter_chunks
Benchmark 10 streamed responses using iter_chunks.
tests/test_benchmarks_client.py:543
Functiontest_ten_web_middlewares
Benchmark 100 requests with 10 middlewares.
tests/test_benchmarks_web_middleware.py:19
Functiontest_terminal_classes_has_status_code
()
tests/test_web_exceptions.py:84
Functiontest_terminate
(loop: asyncio.AbstractEventLoop, conn: mock.Mock)
tests/test_client_request.py:1382
Functiontest_terminate_with_closed_loop
(loop, conn)
tests/test_client_request.py:1411
Functiontest_terminate_without_writer
(loop)
tests/test_client_request.py:1443
Functiontest_test_client_head
(loop, test_client)
tests/test_test_utils.py:200
Functiontest_test_client_methods
(method, loop, test_client)
tests/test_test_utils.py:193
Functiontest_test_client_props
(loop)
tests/test_test_utils.py:264
Functiontest_test_client_raw_server_props
(loop)
tests/test_test_utils.py:278
Functiontest_test_server_context_manager
(loop)
tests/test_test_utils.py:294
Functiontest_test_server_hostnames
(hostname, expected_host, loop)
tests/test_test_utils.py:446
Functiontest_testcase_no_app
(testdir, loop)
tests/test_test_utils.py:324
Functiontest_text
(loop, session)
tests/test_client_response.py:421
Functiontest_text_after_read
(loop, session)
tests/test_client_response.py:616
Functiontest_text_bad_encoding
(loop, session)
tests/test_client_response.py:451
Functiontest_text_badly_encoded_encoding_header
(loop, session)
tests/test_client_response.py:484
Functiontest_text_charset_resolver
(content_type: str, loop, session)
tests/test_client_response.py:550
Functiontest_text_custom_encoding
(loop, session)
tests/test_client_response.py:517
Functiontest_text_in_ctor_with_content_type
()
tests/test_web_response.py:1603
Functiontest_text_in_ctor_with_content_type_header
()
tests/test_web_response.py:1609
Functiontest_text_in_ctor_with_content_type_header_multidict
()
tests/test_web_response.py:1616
Functiontest_text_io_payload_size_matches_file_encoding
Test TextIOPayload.size when file encoding matches payload encoding.
tests/test_payload.py:1299
Functiontest_text_io_payload_size_utf16
Test TextIOPayload.size reports correct size with utf-16.
tests/test_payload.py:1322
Methodtest_text_is_json_encoded
(self)
tests/test_web_response.py:1698
Functiontest_text_with_empty_payload
()
tests/test_web_response.py:1632
Functiontest_textio_payload_as_bytes
Test TextIOPayload.as_bytes method with different encodings.
tests/test_payload.py:615
Functiontest_textio_payload_large_content_length
Test TextIOPayload with very large content_length doesn't read all at once.
tests/test_payload.py:499
Functiontest_textio_payload_reads_in_chunks
Test TextIOPayload reads data in chunks of default size, not all at once.
tests/test_payload.py:456
Functiontest_textio_payload_with_encoding
Test TextIOPayload reading with encoding and size constraints.
tests/test_payload.py:604
Functiontest_threaded_negative_ipv6_lookup
()
tests/test_resolver.py:407
Functiontest_threaded_negative_lookup
()
tests/test_resolver.py:398
Functiontest_threaded_negative_lookup_with_unknown_result
()
tests/test_resolver.py:417
Functiontest_threaded_resolver_is_default
()
tests/test_resolver.py:568
Functiontest_threaded_resolver_keeps_addrconfig_without_localhost_windows_fallback
( host: str, is_windows: bool, monkeypatch: pytest.MonkeyPatch )
tests/test_resolver.py:337
Functiontest_threaded_resolver_multiple_replies
()
tests/test_resolver.py:388
Functiontest_threaded_resolver_positive_ipv6_link_local_lookup
()
tests/test_resolver.py:358
Functiontest_threaded_resolver_positive_lookup
()
tests/test_resolver.py:287
Functiontest_threaded_resolver_retries_localhost_without_addrconfig_on_windows
( monkeypatch: pytest.MonkeyPatch, )
tests/test_resolver.py:296
Functiontest_timeout_handle
(loop)
tests/test_helpers.py:435
Functiontest_timeout_handle_cb_exc
(loop)
tests/test_helpers.py:468
Functiontest_timeout_none
(aiohttp_client, mocker)
tests/test_client_functional.py:1349
Functiontest_timeout_on_conn_reading_headers
(aiohttp_client, mocker)
tests/test_client_functional.py:1186
Functiontest_timeout_on_reading_data
(aiohttp_client, mocker)
tests/test_client_functional.py:1326
Functiontest_timeout_on_reading_headers
(aiohttp_client, mocker)
tests/test_client_functional.py:1171
← previousnext →5,401–5,500 of 5,960, ranked by callers