MCPcopy Create free account

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

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

Functiontest_abnormal_closure_when_client_does_not_close
Test abnormal closure when the server closes and the client doesn't respond.
tests/test_web_websocket_functional.py:1621
Functiontest_abnormal_closure_when_server_does_not_receive
Test abnormal closure when the server closes and a message is pending.
tests/test_web_websocket_functional.py:1595
Functiontest_abort
Test the abort() method.
tests/test_client_proto.py:350
Functiontest_abort_without_transport
Test abort() when transport is None.
tests/test_client_proto.py:376
Functiontest_absolute_form_target_does_not_spoof_scheme
A plaintext absolute-form target with https must not look secure.
tests/test_web_functional.py:2234
Functiontest_absolute_url
()
tests/test_web_request.py:232
Functiontest_access_compressed_file_as_symlink
Test that compressed file variants as symlinks are ignored.
tests/test_web_urldispatcher.py:544
Functiontest_access_logger_atoms
( monkeypatch: Any, log_format: Any, expected: Any, extra: Any )
tests/test_web_log.py:85
Functiontest_access_logger_dicts
()
tests/test_web_log.py:208
Functiontest_access_logger_dst_timezone
Test that _format_t uses the current local UTC offset, not a cached one. This ensures timestamps are correct during DST transitions. The old
tests/test_web_log.py:134
Functiontest_access_logger_feeds_logger
Test that the logger still works.
tests/test_web_log.py:315
Functiontest_access_logger_format
()
tests/test_web_log.py:25
Functiontest_access_logger_unix_socket
()
tests/test_web_log.py:227
Functiontest_access_mock_special_resource
Test access to non-regular files is forbidden using a mock FIFO.
tests/test_web_urldispatcher.py:599
Functiontest_access_non_existing_resource
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient )
tests/test_web_urldispatcher.py:357
Functiontest_access_root_of_static_handler
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, show_index: bool, status: int, pr
tests/test_web_urldispatcher.py:74
Functiontest_access_root_of_static_handler_xss
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, show_index: bool, status: int, pr
tests/test_web_urldispatcher.py:160
Functiontest_access_special_resource
Test access to non-regular files is forbidden using a UNIX domain socket.
tests/test_web_urldispatcher.py:576
Functiontest_access_symlink_loop
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient )
tests/test_web_urldispatcher.py:526
Functiontest_access_to_the_file_with_spaces
( tmp_path: pathlib.Path, aiohttp_client: AiohttpClient, dir_name: str, filename: str, dat
tests/test_web_urldispatcher.py:328
Functiontest_add_domain
(app, loop)
tests/test_urldispatch.py:1197
Functiontest_add_domain_matches_host_with_port
A Host with a port must reach the domain app, not the parent's route.
tests/test_urldispatch.py:1231
Functiontest_add_domain_not_str
(app, loop)
tests/test_urldispatch.py:1191
Functiontest_add_invalid_path
(router)
tests/test_urldispatch.py:215
Functiontest_add_route_invalid_method
(router)
tests/test_urldispatch.py:816
Functiontest_add_route_not_started_with_slash
(router)
tests/test_urldispatch.py:810
Functiontest_add_route_root
(router)
tests/test_urldispatch.py:75
Functiontest_add_route_simple
(router)
tests/test_urldispatch.py:86
Functiontest_add_route_with_add_delete_shortcut
(router)
tests/test_urldispatch.py:163
Functiontest_add_route_with_add_get_shortcut
(router)
tests/test_urldispatch.py:119
Functiontest_add_route_with_add_head_shortcut
(router)
tests/test_urldispatch.py:174
Functiontest_add_route_with_add_patch_shortcut
(router)
tests/test_urldispatch.py:152
Functiontest_add_route_with_add_post_shortcut
(router)
tests/test_urldispatch.py:130
Functiontest_add_route_with_add_put_shortcut
(router)
tests/test_urldispatch.py:141
Functiontest_add_route_with_invalid_re
(router)
tests/test_urldispatch.py:642
Functiontest_add_route_with_re
( router: web.UrlDispatcher, pattern: str, url: str, expected )
tests/test_urldispatch.py:595
Functiontest_add_route_with_re_and_slashes
(router)
tests/test_urldispatch.py:606
Functiontest_add_route_with_re_including_slashes
(router)
tests/test_urldispatch.py:633
Functiontest_add_route_with_re_not_match
(router)
tests/test_urldispatch.py:621
Functiontest_add_static
(router)
tests/test_urldispatch.py:374
Functiontest_add_static_access_resources
Test accessing resource._routes externally. aiohttp-cors accesses the resource._routes, this test ensures that this continues to work.
tests/test_urldispatch.py:506
Functiontest_add_static_append_version
(router)
tests/test_urldispatch.py:384
Functiontest_add_static_append_version_filename_without_slash
(router)
tests/test_urldispatch.py:413
Functiontest_add_static_append_version_follow_symlink
(router, tmp_path)
tests/test_urldispatch.py:434
Functiontest_add_static_append_version_non_exists_file
(router)
tests/test_urldispatch.py:422
Functiontest_add_static_append_version_non_exists_file_without_slash
(router)
tests/test_urldispatch.py:428
Functiontest_add_static_append_version_not_follow_symlink
(router, tmp_path)
tests/test_urldispatch.py:454
Functiontest_add_static_append_version_override_constructor
(router)
tests/test_urldispatch.py:404
Functiontest_add_static_append_version_set_from_constructor
(router)
tests/test_urldispatch.py:393
Functiontest_add_static_path_checks
Test that static paths must exist and be directories.
tests/test_urldispatch.py:359
Functiontest_add_static_path_resolution
Test that static paths are expanded and absolute.
tests/test_urldispatch.py:367
Functiontest_add_static_quoting
(router)
tests/test_urldispatch.py:471
Functiontest_add_static_set_options_route
Ensure set_options_route works as expected.
tests/test_urldispatch.py:525
Functiontest_add_subapp_errors
(app)
tests/test_urldispatch.py:1169
Methodtest_add_trailing_when_necessary
(self, path, status, cli)
tests/test_web_middleware.py:186
Functiontest_add_url_escaping
(router)
tests/test_urldispatch.py:245
Functiontest_add_url_invalid1
(router)
tests/test_urldispatch.py:221
Functiontest_add_url_invalid2
(router)
tests/test_urldispatch.py:227
Functiontest_add_url_invalid3
(router)
tests/test_urldispatch.py:233
Functiontest_add_url_invalid4
(router)
tests/test_urldispatch.py:239
Functiontest_add_view
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:767
Functiontest_add_with_matchdict
(router)
tests/test_urldispatch.py:97
Functiontest_add_with_matchdict_with_colon
(router)
tests/test_urldispatch.py:108
Functiontest_add_with_name
(router: web.UrlDispatcher)
tests/test_urldispatch.py:196
Functiontest_add_with_tailing_slash
(router)
tests/test_urldispatch.py:205
Functiontest_additional_headers
(aiohttp_client)
tests/test_client_ws_functional.py:783
Functiontest_addresses
(make_runner, unix_sockname)
tests/test_web_runner.py:126
Functiontest_aio_dns_is_default
()
tests/test_resolver.py:563
Functiontest_aiohttp_client_close_is_idempotent
()
tests/test_test_utils.py:106
Functiontest_aiohttp_plugin
(testdir)
tests/test_pytest_plugin.py:14
Functiontest_aiohttp_plugin_async_fixture
(testdir, capsys)
tests/test_pytest_plugin.py:181
Functiontest_aiohttp_plugin_async_gen_fixture
(testdir)
tests/test_pytest_plugin.py:243
Functiontest_aiohttp_request_context_manager
(aiohttp_server)
tests/test_client_functional.py:4165
Functiontest_aiohttp_request_coroutine
(aiohttp_server: AiohttpServer)
tests/test_client_functional.py:4218
Functiontest_aiohttp_request_ctx_manager_close_sess_on_error
( ssl_ctx, aiohttp_server )
tests/test_client_functional.py:4178
Functiontest_aiohttp_request_ctx_manager_not_found
()
tests/test_client_functional.py:4200
Functiontest_aiohttp_request_ssl
( aiohttp_server: AiohttpServer, ssl_ctx: ssl.SSLContext, client_ssl_ctx: ssl.SSLContext, )
tests/test_client_functional.py:4242
Functiontest_all_http_exceptions_exported
()
tests/test_web_exceptions.py:55
Functiontest_all_string_payloads_size_is_bytes
Test that all string-like payload classes report size in bytes, not string length.
tests/test_payload.py:1186
Functiontest_allow_head
(aiohttp_client: AiohttpClient)
tests/test_web_urldispatcher.py:699
Methodtest_always_expire
(self, monkeypatch: pytest.MonkeyPatch)
tests/test_connector.py:4187
Functiontest_amazon_like_cookie_scenario
Test real-world cookie scenario similar to Amazon.
tests/test_client_functional.py:5920
Functiontest_answers_cross_origin_within_domain_protection_space
A different origin advertised via the ``domain`` directive is honored. RFC 7616 allows a challenge to define a protection space spanning other
tests/test_client_middleware_digest_auth.py:1336
Functiontest_answers_same_origin_redirect_challenge
A same-origin redirect that issues a challenge must still authenticate.
tests/test_client_middleware_digest_auth.py:1300
Functiontest_any_method
(router)
tests/test_urldispatch.py:255
Functiontest_any_method_appears_in_routes
(router: web.UrlDispatcher)
tests/test_urldispatch.py:271
Functiontest_app_add_routes
(aiohttp_client)
tests/test_web_functional.py:2949
Functiontest_app_boolean
()
tests/test_web_app.py:790
Functiontest_app_call
()
tests/test_web_app.py:27
Functiontest_app_ctor
()
tests/test_web_app.py:18
Functiontest_app_custom_attr
()
tests/test_web_app.py:399
Functiontest_app_default_loop
()
tests/test_web_app.py:32
Functiontest_app_freeze
()
tests/test_web_app.py:336
Functiontest_app_get
()
tests/test_web_app.py:328
Functiontest_app_handler_args_ceil_threshold
(value: Any, expected: Any)
tests/test_web_runner.py:232
Functiontest_app_handler_args_failure
()
tests/test_web_runner.py:213
Functiontest_app_inheritance
()
tests/test_web_app.py:391
Functiontest_app_iter
()
tests/test_web_app.py:779
Functiontest_app_make_handler_access_log_class
(mocker)
tests/test_web_app.py:115
Functiontest_app_make_handler_args
(mocker)
tests/test_web_app.py:100
← previousnext →2,401–2,500 of 5,960, ranked by callers