tiangolo / fastapi
Files Coverage
fastapi/applications.py 100.00%
fastapi/background.py 100.00%
fastapi/concurrency.py 100.00%
fastapi/datastructures.py 100.00%
fastapi/dependencies/models.py 100.00%
fastapi/dependencies/utils.py 100.00%
fastapi/encoders.py 100.00%
fastapi/exception_handlers.py 100.00%
fastapi/exceptions.py 100.00%
fastapi/logger.py 100.00%
fastapi/middleware/__init__.py 100.00%
fastapi/middleware/cors.py 100.00%
fastapi/middleware/gzip.py 100.00%
fastapi/middleware/httpsredirect.py 100.00%
fastapi/middleware/trustedhost.py 100.00%
fastapi/middleware/wsgi.py 100.00%
fastapi/openapi/constants.py 100.00%
fastapi/openapi/docs.py 100.00%
fastapi/openapi/models.py 100.00%
fastapi/openapi/utils.py 100.00%
fastapi/param_functions.py 100.00%
fastapi/params.py 100.00%
fastapi/requests.py 100.00%
fastapi/responses.py 100.00%
fastapi/routing.py 100.00%
fastapi/security/__init__.py 100.00%
fastapi/security/api_key.py 100.00%
fastapi/security/base.py 100.00%
fastapi/security/http.py 100.00%
fastapi/security/oauth2.py 100.00%
fastapi/security/open_id_connect_url.py 100.00%
fastapi/security/utils.py 100.00%
fastapi/staticfiles.py 100.00%
fastapi/templating.py 100.00%
fastapi/testclient.py 100.00%
fastapi/types.py 100.00%
fastapi/websockets.py 100.00%
tests/test_additional_properties.py 100.00%
tests/test_additional_response_extra.py 100.00%
tests/test_additional_responses_bad.py 100.00%
tests/test_additional_responses_custom_model_in_callback.py 100.00%
tests/test_additional_responses_custom_validationerror.py 100.00%
tests/test_additional_responses_default_validationerror.py 100.00%
tests/test_additional_responses_response_class.py 100.00%
tests/test_additional_responses_router.py 100.00%
tests/test_application.py 100.00%
tests/test_callable_endpoint.py 100.00%
tests/test_custom_route_class.py 100.00%
tests/test_custom_swagger_ui_redirect.py 100.00%
tests/test_datastructures.py 100.00%
tests/test_datetime_custom_encoder.py 100.00%
tests/test_default_response_class.py 100.00%
tests/test_default_response_class_router.py 100.00%
tests/test_dependency_cache.py 100.00%
tests/test_dependency_class.py 100.00%
tests/test_dependency_contextmanager.py 100.00%
tests/test_dependency_duplicates.py 100.00%
tests/test_dependency_overrides.py 100.00%
tests/test_dependency_security_overrides.py 100.00%
tests/test_deprecated_openapi_prefix.py 100.00%
tests/test_duplicate_models_openapi.py 100.00%
tests/test_empty_router.py 100.00%
tests/test_exception_handlers.py 100.00%
tests/test_extra_routes.py 100.00%
tests/test_fakeasync.py 100.00%
tests/test_filter_pydantic_sub_model.py 100.00%
tests/test_forms_from_non_typing_sequences.py 100.00%
tests/test_get_request_body.py 100.00%
tests/test_http_connection_injection.py 100.00%
tests/test_include_route.py 100.00%
tests/test_include_router_defaults_overrides.py 100.00%
tests/test_infer_param_optionality.py 100.00%
tests/test_inherited_custom_class.py 100.00%
tests/test_invalid_path_param.py 100.00%
tests/test_invalid_sequence_param.py 100.00%
tests/test_jsonable_encoder.py 100.00%
tests/test_local_docs.py 100.00%
tests/test_modules_same_name_body/app/a.py 100.00%
tests/test_modules_same_name_body/app/b.py 100.00%
tests/test_modules_same_name_body/app/main.py 100.00%
tests/test_modules_same_name_body/test_main.py 100.00%
tests/test_multi_body_errors.py 100.00%
tests/test_multi_query_errors.py 100.00%
tests/test_multipart_installation.py 100.00%
tests/test_no_swagger_ui_redirect.py 100.00%
tests/test_openapi_servers.py 100.00%
tests/test_operations_signatures.py 100.00%
tests/test_param_class.py 100.00%
tests/test_param_in_path_and_dependency.py 100.00%
tests/test_params_repr.py 100.00%
tests/test_path.py 100.00%
tests/test_put_no_body.py 100.00%
tests/test_query.py 100.00%
tests/test_repeated_cookie_headers.py 100.00%
tests/test_repeated_dependency_schema.py 100.00%
tests/test_request_body_parameters_media_type.py 100.00%
tests/test_response_by_alias.py 100.00%
tests/test_response_change_status_code.py 100.00%
tests/test_response_class_no_mediatype.py 100.00%
tests/test_response_code_no_body.py 100.00%
tests/test_response_model_invalid.py 100.00%
tests/test_response_model_sub_types.py 100.00%
tests/test_router_events.py 100.00%
tests/test_router_prefix_with_template.py 100.00%
tests/test_schema_extra_examples.py 100.00%
tests/test_security_api_key_cookie.py 100.00%
tests/test_security_api_key_cookie_optional.py 100.00%
tests/test_security_api_key_header.py 100.00%
tests/test_security_api_key_header_optional.py 100.00%
tests/test_security_api_key_query.py 100.00%
tests/test_security_api_key_query_optional.py 100.00%
tests/test_security_http_base.py 100.00%
tests/test_security_http_base_optional.py 100.00%
tests/test_security_http_basic_optional.py 100.00%
tests/test_security_http_basic_realm.py 100.00%
tests/test_security_http_bearer.py 100.00%
tests/test_security_http_bearer_optional.py 100.00%
tests/test_security_http_digest.py 100.00%
tests/test_security_http_digest_optional.py 100.00%
tests/test_security_oauth2.py 100.00%
tests/test_security_oauth2_authorization_code_bearer.py 100.00%
tests/test_security_oauth2_optional.py 100.00%
tests/test_security_oauth2_password_bearer_optional.py 100.00%
tests/test_security_openid_connect.py 100.00%
tests/test_security_openid_connect_optional.py 100.00%
tests/test_serialize_response.py 100.00%
tests/test_serialize_response_dataclass.py 100.00%
tests/test_serialize_response_model.py 100.00%
tests/test_skip_defaults.py 100.00%
tests/test_starlette_exception.py 100.00%
tests/test_starlette_urlconvertors.py 100.00%
tests/test_sub_callbacks.py 100.00%
tests/test_swagger_ui_init_oauth.py 100.00%
tests/test_tutorial/test_additional_responses/test_tutorial001.py 100.00%
tests/test_tutorial/test_additional_responses/test_tutorial002.py 100.00%
tests/test_tutorial/test_additional_responses/test_tutorial003.py 100.00%
tests/test_tutorial/test_additional_responses/test_tutorial004.py 100.00%
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py 100.00%
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py 100.00%
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py 100.00%
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py 100.00%
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py 100.00%
tests/test_tutorial/test_async_tests/test_main.py 100.00%
tests/test_tutorial/test_background_tasks/test_tutorial001.py 100.00%
tests/test_tutorial/test_background_tasks/test_tutorial002.py 100.00%
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py 100.00%
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py 100.00%
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py 100.00%
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py 100.00%
tests/test_tutorial/test_bigger_applications/test_main.py 100.00%
tests/test_tutorial/test_body/test_tutorial001.py 100.00%
tests/test_tutorial/test_body_fields/test_tutorial001.py 100.00%
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py 100.00%
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py 100.00%
tests/test_tutorial/test_body_nested_models/test_tutorial009.py 100.00%
tests/test_tutorial/test_body_updates/test_tutorial001.py 100.00%
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py 100.00%
tests/test_tutorial/test_cookie_params/test_tutorial001.py 100.00%
tests/test_tutorial/test_cors/test_tutorial001.py 100.00%
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py 100.00%
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py 100.00%
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial001.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial001b.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial004.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial005.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial006.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial007.py 100.00%
tests/test_tutorial/test_custom_response/test_tutorial008.py 100.00%
tests/test_tutorial/test_dependencies/test_tutorial001.py 100.00%
tests/test_tutorial/test_dependencies/test_tutorial004.py 100.00%
tests/test_tutorial/test_dependencies/test_tutorial006.py 100.00%
tests/test_tutorial/test_dependencies/test_tutorial012.py 100.00%
tests/test_tutorial/test_events/test_tutorial001.py 100.00%
tests/test_tutorial/test_events/test_tutorial002.py 100.00%
tests/test_tutorial/test_extending_openapi/test_tutorial001.py 100.00%
tests/test_tutorial/test_extending_openapi/test_tutorial002.py 100.00%
tests/test_tutorial/test_extra_data_types/test_tutorial001.py 100.00%
tests/test_tutorial/test_extra_models/test_tutorial003.py 100.00%
tests/test_tutorial/test_extra_models/test_tutorial004.py 100.00%
tests/test_tutorial/test_extra_models/test_tutorial005.py 100.00%
tests/test_tutorial/test_first_steps/test_tutorial001.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial001.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial002.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial003.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial004.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial005.py 100.00%
tests/test_tutorial/test_handling_errors/test_tutorial006.py 100.00%
tests/test_tutorial/test_header_params/test_tutorial001.py 100.00%
tests/test_tutorial/test_metadata/test_tutorial001.py 100.00%
tests/test_tutorial/test_metadata/test_tutorial004.py 100.00%
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py 100.00%
...st_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py 100.00%
...st_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py 100.00%
...st_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py 100.00%
...st_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py 100.00%
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py 100.00%
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py 100.00%
tests/test_tutorial/test_path_params/test_tutorial004.py 100.00%
tests/test_tutorial/test_path_params/test_tutorial005.py 100.00%
tests/test_tutorial/test_query_params/test_tutorial005.py 100.00%
tests/test_tutorial/test_query_params/test_tutorial006.py 100.00%
tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py 100.00%
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py 100.00%
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py 100.00%
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py 100.00%
tests/test_tutorial/test_request_files/test_tutorial001.py 100.00%
tests/test_tutorial/test_request_files/test_tutorial002.py 100.00%
tests/test_tutorial/test_request_forms/test_tutorial001.py 100.00%
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py 100.00%
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py 100.00%
tests/test_tutorial/test_response_cookies/test_tutorial001.py 100.00%
tests/test_tutorial/test_response_cookies/test_tutorial002.py 100.00%
tests/test_tutorial/test_response_headers/test_tutorial001.py 100.00%
tests/test_tutorial/test_response_headers/test_tutorial002.py 100.00%
tests/test_tutorial/test_response_model/test_tutorial003.py 100.00%
tests/test_tutorial/test_response_model/test_tutorial004.py 100.00%
tests/test_tutorial/test_response_model/test_tutorial005.py 100.00%
tests/test_tutorial/test_response_model/test_tutorial006.py 100.00%
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py 100.00%
tests/test_tutorial/test_security/test_tutorial001.py 100.00%
tests/test_tutorial/test_security/test_tutorial003.py 100.00%
tests/test_tutorial/test_security/test_tutorial005.py 100.00%
tests/test_tutorial/test_security/test_tutorial006.py 100.00%
tests/test_tutorial/test_settings/test_app02.py 100.00%
tests/test_tutorial/test_sql_databases/test_sql_databases.py 100.00%
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py 100.00%
tests/test_tutorial/test_sql_databases/test_testing_databases.py 100.00%
tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py 100.00%
tests/test_tutorial/test_sub_applications/test_tutorial001.py 100.00%
tests/test_tutorial/test_templates/test_tutorial001.py 100.00%
tests/test_tutorial/test_testing/test_main.py 100.00%
tests/test_tutorial/test_testing/test_tutorial001.py 100.00%
tests/test_tutorial/test_testing/test_tutorial002.py 100.00%
tests/test_tutorial/test_testing/test_tutorial003.py 100.00%
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py 100.00%
tests/test_tutorial/test_websockets/test_tutorial001.py 100.00%
tests/test_tutorial/test_websockets/test_tutorial002.py 100.00%
tests/test_tutorial/test_websockets/test_tutorial003.py 100.00%
tests/test_tutorial/test_wsgi/test_tutorial001.py 100.00%
tests/test_union_body.py 100.00%
tests/test_union_inherited_body.py 100.00%
tests/test_validate_response.py 100.00%
tests/test_validate_response_dataclass.py 100.00%
tests/test_validate_response_recursive.py 100.00%
tests/test_ws_router.py 100.00%
Project Totals (246 files) 100.00%
Loading