fastapi/tests
dconathan 3025a368c6 Add support and tests for Pydantic dataclasses in response_model (#454) 2019-08-30 18:12:15 -05:00
..
test_modules_same_name_body 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_tutorial 📝 Update enum examples to use str, and improve Swagger UI in examples (#351) 2019-06-28 21:27:27 +02:00
__init__.py Add first tests, for path and query 2018-12-08 11:56:07 +04:00
main.py Improve security utilities and add tests 2018-12-28 20:35:48 +04:00
test_additional_properties.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_additional_response_extra.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_additional_responses_bad.py Allow additional responses to use status ranges and "default" (#435) 2019-08-30 11:17:42 -05:00
test_additional_responses_custom_validationerror.py Allow using custom 422 validation error and use media type from response class in schema (#437) 2019-08-30 16:46:05 -05:00
test_additional_responses_default_validationerror.py Allow using custom 422 validation error and use media type from response class in schema (#437) 2019-08-30 16:46:05 -05:00
test_additional_responses_response_class.py Allow using custom 422 validation error and use media type from response class in schema (#437) 2019-08-30 16:46:05 -05:00
test_additional_responses_router.py 🐛 Fix "default" extra response with extra status codes (#489) 2019-08-30 16:34:47 -05:00
test_application.py Add swagger UI OAuth2 redirect page for implicit/code auth flows in API docs (#198) 2019-05-21 22:39:58 +04:00
test_custom_swagger_ui_redirect.py Add swagger UI OAuth2 redirect page for implicit/code auth flows in API docs (#198) 2019-05-21 22:39:58 +04:00
test_datastructures.py Add support for UploadFile class annotations (#63) 2019-03-03 20:52:37 +04:00
test_datetime_custom_encoder.py 🐛 Fix jsonable_encoder for models with Config (#29) 2019-02-12 21:43:34 +04:00
test_dependency_cache.py Implement dependency value cache per request (#292) 2019-06-05 21:00:54 +04:00
test_dependency_overrides.py Implement dependency overrides for testing (#291) 2019-06-05 15:43:18 +04:00
test_duplicate_models_openapi.py Add test from @dmontagu in #333 for duplicate models (#385) 2019-07-12 19:13:28 -05:00
test_empty_router.py Allow empty routed path (issue #414) (#415) 2019-08-24 19:39:48 -05:00
test_extra_routes.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_include_route.py Improve security utilities and add tests 2018-12-28 20:35:48 +04:00
test_invalid_path_param.py 🐛 Fix path and query parameters receiving dict as valid (#287) 2019-06-03 21:59:40 +04:00
test_invalid_sequence_param.py 🐛 Fix path and query parameters receiving dict as valid (#287) 2019-06-03 21:59:40 +04:00
test_jsonable_encoder.py By default, encode by alias (#168) 2019-04-20 20:29:54 +04:00
test_local_docs.py Make Swagger UI and ReDoc parameterizable to host offline assets for docs (#112) 2019-05-20 11:26:54 +04:00
test_multi_body_errors.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_multi_query_errors.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_no_swagger_ui_redirect.py Add swagger UI OAuth2 redirect page for implicit/code auth flows in API docs (#198) 2019-05-21 22:39:58 +04:00
test_operations_signatures.py Add include, exclude, and by_alias to path operation methods (#264) 2019-05-27 16:08:13 +04:00
test_param_class.py ⬆️ Add tests, fix issues and update Pydantic 2018-12-28 16:10:29 +04:00
test_path.py Recover extensive tests for path and params 2018-12-18 23:48:02 +04:00
test_put_no_body.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_query.py Improve security utilities and add tests 2018-12-28 20:35:48 +04:00
test_repeated_dependency_schema.py 🐛 Use caching logic to determine OpenAPI spec for duplicate dependencies (#417) 2019-08-24 21:55:25 -05:00
test_request_body_parameters_media_type.py 🐛 use media_type from Body params for OpenAPI requestBody (Fixes: #431) (#439) 2019-08-30 17:32:39 -05:00
test_response_change_status_code.py Add support for Response parameters to set headers, cookies, and status codes (#294) 2019-06-06 14:29:40 +04:00
test_router_prefix_with_template.py Add test for templates in include_router path (#349) 2019-06-28 20:15:17 +02:00
test_security_api_key_cookie.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_api_key_cookie_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_api_key_header.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_api_key_header_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_api_key_query.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_api_key_query_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_http_base.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_http_base_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_http_basic_optional.py Add automatic header handling for HTTP Basic Auth (#175) 2019-04-21 21:44:25 +04:00
test_security_http_basic_realm.py Add automatic header handling for HTTP Basic Auth (#175) 2019-04-21 21:44:25 +04:00
test_security_http_bearer.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_http_bearer_optional.py 🐛 Fix HTTP Bearer security auto-error (#282) 2019-06-01 09:57:45 +04:00
test_security_http_digest.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_http_digest_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_oauth2.py 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_security_oauth2_optional.py 🏗️ Fix same function names in different modules with composite bodies (#347) 2019-06-28 19:35:16 +02:00
test_security_oauth2_password_bearer_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_openid_connect.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_security_openid_connect_optional.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_serialize_response.py Add support and tests for Pydantic dataclasses in response_model (#454) 2019-08-30 18:12:15 -05:00
test_serialize_response_dataclass.py Add support and tests for Pydantic dataclasses in response_model (#454) 2019-08-30 18:12:15 -05:00
test_skip_defaults.py 🐛 Fix skip_defaults implementation when returning a Pydantic model (#422) 2019-08-26 08:24:58 -05:00
test_starlette_exception.py 🎨 Improve automatic naming of path operations in API docs (#155) 2019-04-12 21:25:26 +04:00
test_starlette_urlconvertors.py 🐛 Fix OpenAPI URL format for Starlette convertors (#234) 2019-05-16 17:55:14 +04:00
test_union_body.py Fix request body parsing with Union (#400) 2019-08-07 13:55:33 -05:00
test_union_inherited_body.py Fix request body parsing with Union (#400) 2019-08-07 13:55:33 -05:00
test_validate_response.py Add support and tests for Pydantic dataclasses in response_model (#454) 2019-08-30 18:12:15 -05:00
test_validate_response_dataclass.py Add support and tests for Pydantic dataclasses in response_model (#454) 2019-08-30 18:12:15 -05:00
test_ws_router.py Add support for WebSockets with dependencies, params, etc #166 (#178) 2019-05-24 20:41:41 +04:00