fastapi/tests/test_tutorial
Sebastián Ramírez ac438b9934
Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-11-03 11:12:49 +01:00
..
test_additional_responses Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
test_additional_status_codes Simplify tests for additional_status_codes (#13149) 2025-01-03 09:47:55 +00:00
test_advanced_middleware ⬆ Upgrade Starlette to `0.21.0`, including the new [`TestClient` based on HTTPX](https://github.com/encode/starlette/releases/tag/0.21.0) (#5471) 2022-11-13 15:26:09 +01:00
test_async_tests Add support for Trio via AnyIO (#3372) 2021-10-06 17:32:11 +02:00
test_background_tasks Simplify tests for background_tasks (#13166) 2025-01-08 20:23:42 +01:00
test_behind_a_proxy 📝 Add documentation for Behind a Proxy - Proxy Forwarded Headers, using `--forwarded-allow-ips="*"` (#14028) 2025-08-31 21:34:08 +02:00
test_bigger_applications Simplify tests for bigger_applications (#13167) 2025-01-08 20:25:01 +01:00
test_body Simplify tests for body (#13168) 2025-01-08 20:26:16 +01:00
test_body_fields Simplify tests for body_fields (#13169) 2025-01-08 20:28:44 +01:00
test_body_multiple_params Simplify tests for request_files (#13182) 2025-01-30 12:04:34 +00:00
test_body_nested_models Simplify tests for body_nested_models (#13171) 2025-01-19 06:20:41 +00:00
test_body_updates Simplify tests for body_updates (#13172) 2025-01-19 06:21:30 +00:00
test_conditional_openapi Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
test_configure_swagger_ui ⬆ Bump ruff to 0.9.4 (#13299) 2025-03-06 13:18:57 +01:00
test_cookie_param_models Use `inline-snapshot` to support different Pydantic versions in the test suite (#12534) 2025-04-28 09:13:56 +02:00
test_cookie_params Simplify tests for cookie_params (#13176) 2025-01-19 06:26:50 +00:00
test_cors ⬆ Upgrade isort to version 5.x.x (#1670) 2020-07-09 20:06:12 +02:00
test_custom_docs_ui ⬆️ Update ReDoc to version 2.x (#9700) 2025-04-28 20:31:44 +02:00
test_custom_request_and_route ⬆ Update httpx requirement to >=0.23.0,<0.29.0 (#13114) 2025-07-26 12:49:23 +02:00
test_custom_response 📝 Update links to Pydantic docs to point to new website (#11328) 2024-03-21 20:42:11 -05:00
test_dataclasses ✏️ Fix typos in docs (#11926) 2024-07-31 09:09:15 -05:00
test_dependencies Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262) 2025-11-03 11:12:49 +01:00
test_events Add reference (code API) docs with PEP 727, add subclass with custom docstrings for `BackgroundTasks`, refactor docs structure (#10392) 2023-10-18 16:36:40 +04:00
test_extending_openapi 📝 Add new docs section, How To - Recipes, move docs that don't have to be read by everyone to How To (#10114) 2023-08-19 21:54:04 +02:00
test_extra_data_types Simplify tests for extra_data_types (#13177) 2025-01-19 06:28:09 +00:00
test_extra_models Simplify tests for extra_models (#13178) 2025-01-19 06:29:33 +00:00
test_first_steps Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_generate_clients Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_handling_errors Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
test_header_param_models 🐛 Fix `convert_underscores=False` for header Pydantic models (#13515) 2025-03-23 21:48:54 +01:00
test_header_params Enable test case for duplicated headers in `test_tutorial/test_header_params/test_tutorial003.py` (#13864) 2025-09-20 18:57:53 +02:00
test_metadata Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_openapi_callbacks Add support for Pydantic v2 (#9816) 2023-07-07 19:12:13 +02:00
test_openapi_webhooks ✏️ Fix typos in emoji docs and in some source examples (#10438) 2023-10-20 13:00:44 +04:00
test_path_operation_advanced_configurations Add support for Pydantic's 2.7 new deprecated Field parameter, remove URL from validation errors response (#11461) 2024-04-18 14:40:57 -05:00
test_path_operation_configurations Simplify tests for path_operation_configurations (#13180) 2025-01-19 06:33:10 +00:00
test_path_params ⬆️ Upgrade compatibility with Pydantic v2.4, new renamed functions and JSON Schema input/output models with default values (#10344) 2023-09-27 23:14:40 -05:00
test_pydantic_v1_in_v2 Add support for `from pydantic.v1 import BaseModel`, mixed Pydantic v1 and v2 models in the same app (#14168) 2025-10-11 18:45:54 +02:00
test_query_param_models Add support for Pydantic models for parameters using `Query`, `Cookie`, `Header` (#12199) 2024-09-17 20:54:10 +02:00
test_query_params Simplify tests for path_query_params (#13181) 2025-01-19 06:34:48 +00:00
test_query_params_str_validations 🐛 Add docs examples and tests (support) for `Annotated` custom validations, like `AfterValidator`, revert #13440 (#13442) 2025-03-01 22:02:35 +00:00
test_request_files Simplify tests for request_files (#13182) 2025-01-30 12:04:34 +00:00
test_request_form_models Simplify tests for request_form_models (#13183) 2025-01-19 22:39:18 +00:00
test_request_forms Simplify tests for request_forms (#13184) 2025-01-19 06:42:25 +00:00
test_request_forms_and_files Simplify tests for request_forms_and_files (#13185) 2025-01-19 06:43:21 +00:00
test_response_change_status_code ⬆ Upgrade isort to version 5.x.x (#1670) 2020-07-09 20:06:12 +02:00
test_response_cookies ⬆ Upgrade isort to version 5.x.x (#1670) 2020-07-09 20:06:12 +02:00
test_response_headers ⬆ Upgrade isort to version 5.x.x (#1670) 2020-07-09 20:06:12 +02:00
test_response_model Simplify tests for response_model (#14062) 2025-09-20 18:26:21 +02:00
test_schema_extra_example Simplify tests for schema_extra_example (#13197) 2025-01-19 22:30:50 +00:00
test_security 🚸 Set format to password for fields `password` and `client_secret` in `OAuth2PasswordRequestForm`, make docs show password fields for passwords (#11032) 2025-06-17 12:41:59 +02:00
test_separate_openapi_schemas Simplify tests for separate_openapi_schemas (#13201) 2025-01-19 22:36:49 +00:00
test_settings Simplify tests for `settings` (#13505) 2025-06-17 12:25:20 +02:00
test_sql_databases ⬆️ Add support for Python 3.14 (#14165) 2025-10-10 11:44:39 +02:00
test_sub_applications Add support for OpenAPI 3.1.0 (#9770) 2023-06-30 20:25:16 +02:00
test_templates 📝 Update template docs with more info about `url_for` (#5937) 2024-01-11 23:25:37 +01:00
test_testing 📝 Update testing events documentation (#13259) 2025-08-31 10:29:21 +00:00
test_testing_dependencies Simplify tests for `dependency_testing` (#13223) 2025-02-15 14:37:48 +00:00
test_websockets Simplify tests for websockets (#13202) 2025-01-19 22:40:39 +00:00
test_wsgi ⬆ Upgrade isort to version 5.x.x (#1670) 2020-07-09 20:06:12 +02:00
__init__.py ♻️ Re-format tutorials, files names and tests 2018-12-18 21:59:06 +04:00