| LOW | starlette/responses.py | 154 | def _wrap_websocket_denial_send(self, send: Send) -> Send: |
| LOW | starlette/routing.py | 540 | def _wrap_gen_lifespan_context( |
| LOW | starlette/_exception_handler.py | 16 | def _lookup_exception_handler(exc_handlers: ExceptionHandlers, exc: Exception) -> ExceptionHandler | None: |
| LOW | starlette/_exception_handler.py | 23 | def wrap_app_handling_exceptions(app: ASGIApp, conn: Request | WebSocket) -> ASGIApp: |
| LOW | tests/test_datastructures.py | 173 | def test_url_from_scope_with_invalid_host(host: bytes) -> None: |
| LOW | tests/test_datastructures.py | 231 | def test_mutable_headers_merge() -> None: |
| LOW | tests/test_datastructures.py | 240 | def test_mutable_headers_merge_dict() -> None: |
| LOW | tests/test_datastructures.py | 249 | def test_mutable_headers_update() -> None: |
| LOW | tests/test_datastructures.py | 258 | def test_mutable_headers_update_dict() -> None: |
| LOW | tests/test_datastructures.py | 267 | def test_mutable_headers_merge_not_mapping() -> None: |
| LOW | tests/test_datastructures.py | 283 | def test_mutable_headers_from_scope() -> None: |
| LOW | tests/test_datastructures.py | 335 | async def test_upload_file_file_input() -> None: |
| LOW | tests/test_datastructures.py | 349 | async def test_upload_file_without_size() -> None: |
| LOW | tests/test_datastructures.py | 419 | async def test_upload_file_repr_headers() -> None: |
| LOW | tests/test_concurrency.py | 16 | async def test_run_until_first_complete() -> None: |
| LOW | tests/test_concurrency.py | 33 | def test_accessing_context_from_threaded_sync_endpoint( |
| LOW | tests/test_concurrency.py | 50 | async def test_iterate_in_threadpool() -> None: |
| LOW | tests/test_templates.py | 37 | def test_templates_autoescape(tmp_path: Path) -> None: |
| LOW | tests/test_templates.py | 49 | def test_calls_context_processors(tmp_path: Path, test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_templates.py | 77 | def test_template_with_middleware(tmpdir: Path, test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_templates.py | 103 | def test_templates_with_directories(tmp_path: Path, test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_templates.py | 138 | def test_templates_require_directory_or_environment() -> None: |
| LOW | tests/test_templates.py | 143 | def test_templates_require_directory_or_environment_not_both() -> None: |
| LOW | tests/test_templates.py | 148 | def test_templates_with_directory(tmpdir: Path) -> None: |
| LOW | tests/test_templates.py | 158 | def test_templates_with_environment(tmpdir: Path, test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_endpoints.py | 37 | def test_http_endpoint_route_path_params(client: TestClient) -> None: |
| LOW | tests/test_endpoints.py | 43 | def test_http_endpoint_route_method(client: TestClient) -> None: |
| LOW | tests/test_endpoints.py | 50 | def test_http_endpoint_does_not_dispatch_non_verb_method(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_endpoints.py | 67 | def test_websocket_endpoint_on_connect(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_endpoints.py | 78 | def test_websocket_endpoint_on_receive_bytes( |
| LOW | tests/test_endpoints.py | 98 | def test_websocket_endpoint_on_receive_json( |
| LOW | tests/test_endpoints.py | 118 | def test_websocket_endpoint_on_receive_json_binary( |
| LOW | tests/test_endpoints.py | 134 | def test_websocket_endpoint_on_receive_text( |
| LOW | tests/test_endpoints.py | 154 | def test_websocket_endpoint_on_default(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_endpoints.py | 168 | def test_websocket_endpoint_on_disconnect( |
| LOW | tests/test_convertors.py | 63 | def test_default_float_convertor(test_client_factory: TestClientFactory, param: str, status_code: int) -> None: |
| LOW | tests/test_convertors.py | 86 | def test_default_uuid_convertor(test_client_factory: TestClientFactory, param: str, status_code: int) -> None: |
| LOW | tests/test_exceptions.py | 108 | def test_websockets_should_raise(client: TestClient) -> None: |
| LOW | tests/test_exceptions.py | 114 | def test_handled_exc_after_response(test_client_factory: TestClientFactory, client: TestClient) -> None: |
| LOW | tests/test_exceptions.py | 185 | def test_request_in_app_and_handler_is_the_same_object(client: TestClient) -> None: |
| LOW | tests/test_exceptions.py | 191 | def test_http_exception_does_not_use_threadpool(client: TestClient, monkeypatch: MonkeyPatch) -> None: |
| LOW | tests/test_exceptions.py | 210 | def test_handlers_annotations() -> None: |
| LOW | tests/test_testclient.py | 49 | def test_use_testclient_in_endpoint(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 69 | def test_testclient_headers_behavior() -> None: |
| LOW | tests/test_testclient.py | 88 | def test_use_testclient_as_contextmanager(test_client_factory: TestClientFactory, anyio_backend_name: str) -> None: |
| LOW | tests/test_testclient.py | 179 | def test_exception_in_middleware(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 232 | def test_websocket_blocking_receive(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 257 | def test_websocket_not_block_on_close(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 292 | def test_client_custom_client(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 334 | def test_domain_restricted_cookies(test_client_factory: TestClientFactory, domain: str, ok: bool) -> None: |
| LOW | tests/test_testclient.py | 360 | def test_forward_follow_redirects(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 373 | def test_forward_nofollow_redirects(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 383 | def test_with_duplicate_headers(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 403 | def test_raw_path_with_querystring(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test_testclient.py | 413 | def test_websocket_raw_path_without_params(test_client_factory: TestClientFactory) -> None: |
| LOW | tests/test__utils.py | 54 | def test_async_partial_object_call() -> None: |
| LOW | tests/test__utils.py | 76 | def test_async_nested_partial() -> None: |
| LOW | tests/test__utils.py | 87 | def test_async_mocked_async_function() -> None: |
| LOW | tests/test_authentication.py | 176 | async def websocket_endpoint_decorated(websocket: WebSocket, additional: str) -> None: |
| LOW | tests/test_authentication.py | 204 | def test_invalid_decorator_usage() -> None: |
| 250 more matches not shown… |