Repository: tiangolo/fastapi (branch: patch-1)
Commit date: 2023-12-31T12:35:12Z

Workflow file: .github/workflows/test.yml (Test)
name: Test

on:
  push:
    branches:
      - master
  pull_request:
    types:
      - opened
      - synchronize

jobs:
  lint:
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    steps:
      - name: Dump GitHub context
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
        run: echo "$GITHUB_CONTEXT"
      - uses: actions/checkout@v4
      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: "3.11"
          # Issue ref: https://github.com/actions/setup-python/issues/436
          # cache: "pip"
          # cache-dependency-path: pyproject.toml
      - uses: actions/cache@v3
        id: cache
        with:
          path: ${{ env.pythonLocation }}
          key: ${{ runner.os }}-python-${{ env.pythonLocation }}-pydantic-v2-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v07
      - name: Install Dependencies
        if: steps.cache.outputs.cache-hit != 'true'
        run: pip install -r requirements-tests.txt
      - name: Install Pydantic v2
        run: pip install "pydantic>=2.0.2,<3.0.0"
      - name: Lint
        run: bash scripts/lint.sh

  test:
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    strategy:
      matrix:
        python-version: ["3.8", "3.9", "3.10", "3.11"]
        pydantic-version: ["pydantic-v1", "pydantic-v2"]
      fail-fast: false
    steps:
      - name: Dump GitHub context
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
        run: echo "$GITHUB_CONTEXT"
      - uses: actions/checkout@v4
      - name: Set up Python
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python-version }}
          # Issue ref: https://github.com/actions/setup-python/issues/436
          # cache: "pip"
          # cache-dependency-path: pyproject.toml
      - uses: actions/cache@v3
        id: cache
        with:
          path: ${{ env.pythonLocation }}
          key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ matrix.pydantic-version }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt', 'requirements-docs-tests.txt') }}-test-v07
      - name: Install Dependencies
        if: steps.cache.outputs.cache-hit != 'true'
        run: pip install -r requirements-tests.txt
      - name: Install Pydantic v1
        if: matrix.pydantic-version == 'pydantic-v1'
        run: pip install "pydantic>=1.10.0,<2.0.0"
      - name: Install Pydantic v2
        if: matrix.pydantic-version == 'pydantic-v2'
        run: pip install "pydantic>=2.0.2,<3.0.0"
      - run: mkdir coverage
      - name: Test
        run: bash scripts/test.sh
        env:
          COVERAGE_FILE: coverage/.coverage.${{ runner.os }}-py${{ matrix.python-version }}
          CONTEXT: ${{ runner.os }}-py${{ matrix.python-version }}
      - name: Store coverage files
        uses: actions/upload-artifact@v3
        with:
          name: coverage
          path: coverage

  coverage-combine:
    needs: [test]
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    steps:
      - name: Dump GitHub context
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
        run: echo "$GITHUB_CONTEXT"
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v4
        with:
          python-version: '3.8'
          # Issue ref: https://github.com/actions/setup-python/issues/436
          # cache: "pip"
          # cache-dependency-path: pyproject.toml
      - name: Get coverage files
        uses: actions/download-artifact@v3
        with:
          name: coverage
          path: coverage
      - run: pip install coverage[toml]
      - run: ls -la coverage
      - run: coverage combine coverage
      - run: coverage report
      - run: coverage html --show-contexts --title "Coverage for ${{ github.sha }}"
      - name: Store coverage HTML
        uses: actions/upload-artifact@v3
        with:
          name: coverage-html
          path: htmlcov

  # https://github.com/marketplace/actions/alls-green#why
  check:  # This job does nothing and is only used for the branch protection
    if: always()
    needs:
      - coverage-combine
    runs-on: ubuntu-latest
    services:
      pypi_wayback:
        image: ghcr.io/waleko/pypi-wayback
        ports:
          - 8629:8080
    steps:
      - name: Dump GitHub context
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
        run: echo "$GITHUB_CONTEXT"
      - name: Decide whether the needed jobs succeeded or failed
        uses: re-actors/alls-green@release/v1
        with:
          jobs: ${{ toJSON(needs) }}

env:
  PIP_INDEX_URL: http://localhost:8629/2023-12-31
  UV_INDEX_URL: http://localhost:8629/2023-12-31


Failed build logs:
step_name: test (3.8, pydantic-v1)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.8
  CONTEXT: Linux-py3.8
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py s..s...                                             [  2%]
tests/test_computed_fields.py ss                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py s.                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py sss                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py s.                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py .....s...........ss.                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ....ss               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py s.                                      [ 23%]
tests/test_regex_deprecated_body.py ssss                                 [ 23%]
tests/test_regex_deprecated_params.py ssss                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py s                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py . [ 38%]
..                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py ..      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py s [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py s  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py s    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ssssss [ 44%]
sssssssssssssssssss                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ssssssssssssssss [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ssss   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ssss    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ssss      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py sss [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ..s.           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ssss     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ssss      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py sss     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py ssss [ 51%]
s                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py sssss [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py sssss   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ..s.            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py sssss [ 55%]
s                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ssssss [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ssssss   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py sssss [ 56%]
ss                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ssssss [ 57%]
s                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py sssssss  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py sssss  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ssssss [ 59%]
sss                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py s [ 60%]
s                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py ss [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ss   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py sss      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ss        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ss        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py ssss [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ssss    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py ssss [ 64%]
s                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py sssss [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py sssss   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py sss  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py sss   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py sss     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
s.                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py s [ 66%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py . [ 67%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py sss      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py s [ 69%]
ssss                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py s [ 73%]
ssss                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py ss [ 73%]
sss                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py ssss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py ss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py sssss [ 75%]
s                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py sssss [ 76%]
s                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ssssss   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ssss  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ssss     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py sssss [ 78%]
s                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py s [ 78%]
sssss                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ss  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py s   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py sss [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ss     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ssss   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ssss    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py sss    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py sss    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ss     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py .. [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py s [ 81%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ssss       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py sssssssss [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py sssssssss  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py sssssssss    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py sssssssss [ 87%]
ssssssssss                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py ssssssssss [ 88%]
sssssssss                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ssssssssssss [ 89%]
sssssss                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py sssssssssssss [ 90%]
ssssss                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py sssss      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
s                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py s [ 91%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
s                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ss                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py s                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py .              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py .......     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py s [ 93%]
ssssss                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ssssss [ 94%]
s                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py .       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py s  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py s               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py s                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py s                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py s [ 97%]
ssssss                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ssssss  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ssssss   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ssssss     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ss          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py . [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py s [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7f043ac74a30>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7f043abdef40>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1452 passed, 602 skipped in 25.50s =================
##[error]Process completed with exit code 1.

step_name: test (3.8, pydantic-v2)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.8
  CONTEXT: Linux-py3.8
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.8.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py .ss....                                             [  2%]
tests/test_computed_fields.py ..                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py .s                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py ...                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py .s                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py ......s....s....s...                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ......               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py .s                                      [ 23%]
tests/test_regex_deprecated_body.py ssss                                 [ 23%]
tests/test_regex_deprecated_params.py ssss                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py s                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py s [ 38%]
ss                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py s.      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py s [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py s  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py s    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ssssss [ 44%]
sssssssssssssssssss                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ssssssssssssssss [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ssss   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ssss    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ssss      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py sss [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ...s           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ssss     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ssss      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ...     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py ssss [ 51%]
s                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py sssss [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py sssss   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ...s            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py sssss [ 55%]
s                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ssssss [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ssssss   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py sssss [ 56%]
ss                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ssssss [ 57%]
s                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py sssssss  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py sssss  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ssssss [ 59%]
sss                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py s [ 60%]
s                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py ss [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ss   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py sss      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ss        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ss        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py ssss [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ssss    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py ssss [ 64%]
s                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py sssss [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py sssss   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py sss  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py sss   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py sss     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
.s                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py . [ 66%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py s [ 67%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py sss      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py s [ 69%]
ssss                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py s [ 71%]
ss                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py s [ 73%]
ssss                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py ss [ 73%]
sss                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py ssss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py ss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py sssss [ 75%]
s                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py sssss [ 76%]
s                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ssssss   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ssss  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ssss     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py sssss [ 78%]
s                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py s [ 78%]
sssss                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ss  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py s   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py sss [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ss     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ssss   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ssss    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py sss    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py sss    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py ss [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py s [ 81%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ssss       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py sssssssss [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py sssssssss  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py sssssssss    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py sssssssss [ 87%]
ssssssssss                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py ssssssssss [ 88%]
sssssssss                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ssssssssssss [ 89%]
sssssss                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py sssssssssssss [ 90%]
ssssss                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py sssss      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
.                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py s [ 91%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
.                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ..                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py .                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py s              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py sssssss     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py s [ 93%]
ssssss                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ssssss [ 94%]
s                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py s       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py s  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py s               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py s                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py s                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py s [ 97%]
ssssss                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ssssss  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ssssss   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ssssss     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ss          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py s [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py . [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/concurrent/futures/_base.py:444: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/concurrent/futures/_base.py:389: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7fd566e8e2e0>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7fd566ee2730>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1447 passed, 607 skipped in 26.04s =================
##[error]Process completed with exit code 1.

step_name: test (3.9, pydantic-v1)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.9
  CONTEXT: Linux-py3.9
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.9.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py s..s...                                             [  2%]
tests/test_computed_fields.py ss                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py s.                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py sss                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py s.                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py .....s...........ss.                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ....ss               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py s.                                      [ 23%]
tests/test_regex_deprecated_body.py ssss                                 [ 23%]
tests/test_regex_deprecated_params.py ssss                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py s                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py . [ 38%]
..                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py ..      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py s [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py s    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ssssssssssssssss [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ssss   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ssss      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ..s.           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ssss     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ..s.      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py sss     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py ssss [ 51%]
s                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py sssss   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ..s.            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py sssss [ 55%]
s                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ssssss   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py sssss [ 56%]
ss                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py sssssss  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py s [ 60%]
s                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ss   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py sss      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py ssss [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ssss    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py ssss [ 64%]
s                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py sssss   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py sss  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py sss     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
s.                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py s [ 66%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py . [ 67%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py sss      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py s [ 69%]
ssss                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py s [ 73%]
ssss                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py ssss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ss  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py s   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py sss [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ss     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ssss   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py sss    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py sss    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ss     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py .. [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py s [ 81%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py sssssssss [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py sssssssss    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py sssssssss [ 87%]
ssssssssss                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ssssssssssss [ 89%]
sssssss                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
s                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py s [ 91%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
s                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ss                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py s                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py .              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py .......     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py . [ 93%]
......                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ...... [ 94%]
.                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py .       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py .  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py s               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py s                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py s [ 97%]
ssssss                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ssssss  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ssssss     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py . [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py s [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/concurrent/futures/_base.py:439: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/concurrent/futures/_base.py:391: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7faf028a36d0>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7faf028d9c70>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1712 passed, 342 skipped in 34.28s =================
##[error]Process completed with exit code 1.

step_name: test (3.9, pydantic-v2)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.9.18/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.18/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.18/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.9
  CONTEXT: Linux-py3.9
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.9.18, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py .ss....                                             [  2%]
tests/test_computed_fields.py ..                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py .s                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py ...                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py .s                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py ......s....s....s...                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ......               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py .s                                      [ 23%]
tests/test_regex_deprecated_body.py ssss                                 [ 23%]
tests/test_regex_deprecated_params.py ssss                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py s                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py s [ 38%]
ss                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py s [ 40%]
s                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py s.      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py s [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py s    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ssssssssssssssss [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ssss   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ssss      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py s [ 48%]
ssss                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py s [ 49%]
sss                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ...s           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ssss     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ...s      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ...     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py ssss [ 51%]
s                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py sssss   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ...s            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py sssss [ 55%]
s                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ssssss   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py sssss [ 56%]
ss                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py sssssss  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py s [ 60%]
s                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ss   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py sss      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py ssss [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ssss    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py ssss [ 64%]
s                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py sssss   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py sss  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py sss     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
.s                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py . [ 66%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py s [ 67%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py s [ 67%]
ss                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py sss      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py s [ 69%]
ssss                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py s [ 69%]
ssss                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py s [ 70%]
ss                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py s [ 72%]
ss                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py s [ 73%]
ssss                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py ssss [ 74%]
s                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ss  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py s   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py sss [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ss     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ssss   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py sss    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py sss    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py ss [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py s [ 81%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py s [ 82%]
s                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py sssssssss [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py sssssssss    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py sssssssss [ 87%]
ssssssssss                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ssssssssssss [ 89%]
sssssss                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
.                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py s [ 91%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
.                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py s [ 92%]
ss                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ..                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py .                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py s              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py sssssss     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py s [ 93%]
ssssss                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ssssss [ 94%]
s                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py s       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py s  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py s               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py s                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py s [ 97%]
ssssss                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py s [ 97%]
ssssss                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ssssss  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ssssss     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py s [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py . [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/concurrent/futures/_base.py:439: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/concurrent/futures/_base.py:391: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7ff0dfb48160>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7ff0dfb7daf0>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1694 passed, 360 skipped in 33.19s =================
##[error]Process completed with exit code 1.

step_name: test (3.10, pydantic-v1)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.10
  CONTEXT: Linux-py3.10
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py s..s...                                             [  2%]
tests/test_computed_fields.py ss                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py s.                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py sss                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py s.                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py .....s...........ss.                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ....ss               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py s.                                      [ 23%]
tests/test_regex_deprecated_body.py ....                                 [ 23%]
tests/test_regex_deprecated_params.py ....                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py .                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py . [ 38%]
..                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py ..      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py . [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py .    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ................ [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ....   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ....      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ..s.           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ..s.     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ..s.      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py sss     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py .... [ 51%]
.                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py .....   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ..s.            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py ..... [ 55%]
.                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ......   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py ..... [ 56%]
..                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py .......  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py . [ 60%]
.                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ..   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py ...      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py .... [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ....    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py .... [ 64%]
.                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py .....   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py ...  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py ...     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
s.                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py s [ 66%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py . [ 67%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py ...      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py . [ 69%]
....                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py . [ 73%]
....                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py .... [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ..  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py .   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py ... [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ..     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ....   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py ...    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py ...    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ss     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py .. [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py . [ 81%]
.                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py . [ 81%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py ......... [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py .........    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py ......... [ 87%]
..........                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ............ [ 89%]
.......                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
s                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py . [ 91%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
s                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ss                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py s                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py .              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py .......     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py . [ 93%]
......                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py ..... [ 94%]
..                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ...... [ 94%]
.                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py .       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py . [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py .  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py .               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py .                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py . [ 97%]
......                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ......  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ......     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py . [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py s [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/concurrent/futures/_base.py:458: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/concurrent/futures/_base.py:403: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7fe12cd77550>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7fe12cd75fc0>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 2010 passed, 44 skipped in 47.22s ==================
##[error]Process completed with exit code 1.

step_name: test (3.10, pydantic-v2)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.10.13/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.10
  CONTEXT: Linux-py3.10
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.10.13, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py .ss....                                             [  2%]
tests/test_computed_fields.py ..                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py .s                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py ...                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py .s                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py ......s....s....s...                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ......               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py .s                                      [ 23%]
tests/test_regex_deprecated_body.py ....                                 [ 23%]
tests/test_regex_deprecated_params.py ....                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py .                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py s [ 38%]
ss                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py s.      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py . [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py .    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ................ [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ....   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ....      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ...s           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ...s     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ...s      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ...     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py .... [ 51%]
.                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py .....   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ...s            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py ..... [ 55%]
.                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ......   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py ..... [ 56%]
..                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py .......  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py . [ 60%]
.                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ..   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py ...      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py .... [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ....    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py .... [ 64%]
.                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py .....   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py ...  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py ...     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
.s                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py . [ 66%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py s [ 67%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py ...      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py . [ 69%]
....                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py . [ 73%]
....                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py .... [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ..  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py .   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py ... [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ..     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ....   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py ...    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py ...    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py ss [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py . [ 81%]
.                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py . [ 81%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py ......... [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py .........    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py ......... [ 87%]
..........                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ............ [ 89%]
.......                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
.                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py . [ 91%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
.                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ..                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py .                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py s              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py sssssss     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py s [ 93%]
ssssss                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ssssss [ 94%]
s                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py s       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py s  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py .               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py .                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py . [ 97%]
......                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ......  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ......     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py s [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py . [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/concurrent/futures/_base.py:451: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/concurrent/futures/_base.py:403: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7f9a8cd777c0>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7f9a8cbaeec0>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1979 passed, 75 skipped in 46.54s ==================
##[error]Process completed with exit code 1.

step_name: test (3.11, pydantic-v1)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.11.7/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.11
  CONTEXT: Linux-py3.11
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py s..s...                                             [  2%]
tests/test_computed_fields.py ss                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py s.                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py sss                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py s.                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py .....s...........ss.                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ....ss               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py s.                                      [ 23%]
tests/test_regex_deprecated_body.py ....                                 [ 23%]
tests/test_regex_deprecated_params.py ....                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py .                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py . [ 38%]
..                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py ..      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py . [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py .    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ................ [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ....   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ....      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ..s.           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ..s.     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ..s.      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py sss     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py .... [ 51%]
.                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py .....   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ..s.            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py ..... [ 55%]
.                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ......   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py ..... [ 56%]
..                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py .......  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py . [ 60%]
.                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ..   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py ...      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py .... [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ....    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py .... [ 64%]
.                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py .....   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py ...  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py ...     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
s.                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py s [ 66%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py . [ 67%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
s.                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py ...      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py . [ 69%]
....                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py . [ 73%]
....                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py .... [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ..  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py .   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py ... [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ..     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ....   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py ...    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py ...    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ss     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py .. [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py . [ 81%]
.                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py . [ 81%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py ......... [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py .........    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py ......... [ 87%]
..........                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ............ [ 89%]
.......                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
s                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py . [ 91%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
s                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
.s                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ss                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py s                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py .              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py .......     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py . [ 93%]
......                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py . [ 93%]
......                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py ..... [ 94%]
..                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ...... [ 94%]
.                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py .       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py . [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py .  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py .               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py .                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py . [ 97%]
......                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ......  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ......     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py . [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py s [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/concurrent/futures/_base.py:449: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/concurrent/futures/_base.py:401: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7fce3b95f810>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7fce3b96d9d0>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 2010 passed, 44 skipped in 48.75s ==================
##[error]Process completed with exit code 1.

step_name: test (3.11, pydantic-v2)/10_Test.txt
log: ##[group]Run bash scripts/test.sh
[36;1mbash scripts/test.sh[0m
shell: /usr/bin/bash -e {0}
env:
  pythonLocation: /opt/hostedtoolcache/Python/3.11.7/x64
  PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib/pkgconfig
  Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.7/x64
  LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.7/x64/lib
  COVERAGE_FILE: coverage/.coverage.Linux-py3.11
  CONTEXT: Linux-py3.11
##[endgroup]
+ export PYTHONPATH=./docs_src
+ PYTHONPATH=./docs_src
+ coverage run -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/runner/work/fastapi/fastapi
configfile: pyproject.toml
plugins: anyio-3.7.1
collected 2055 items

tests/test_additional_properties.py ..                                   [  0%]
tests/test_additional_properties_bool.py ...                             [  0%]
tests/test_additional_response_extra.py ..                               [  0%]
tests/test_additional_responses_bad.py .                                 [  0%]
tests/test_additional_responses_custom_model_in_callback.py .            [  0%]
tests/test_additional_responses_custom_validationerror.py .              [  0%]
tests/test_additional_responses_default_validationerror.py .             [  0%]
tests/test_additional_responses_response_class.py .                      [  0%]
tests/test_additional_responses_router.py .....                          [  0%]
tests/test_ambiguous_params.py ..                                        [  0%]
tests/test_annotated.py .............                                    [  1%]
tests/test_application.py ........                                       [  1%]
tests/test_callable_endpoint.py .                                        [  1%]
tests/test_compat.py .ss....                                             [  2%]
tests/test_computed_fields.py ..                                         [  2%]
tests/test_custom_middleware_exception.py ..                             [  2%]
tests/test_custom_route_class.py .....                                   [  2%]
tests/test_custom_schema_fields.py ..                                    [  2%]
tests/test_custom_swagger_ui_redirect.py ...                             [  3%]
tests/test_datastructures.py .......                                     [  3%]
tests/test_datetime_custom_encoder.py .s                                 [  3%]
tests/test_default_response_class.py ..............                      [  4%]
tests/test_default_response_class_router.py ..............               [  4%]
tests/test_dependency_cache.py ....                                      [  5%]
tests/test_dependency_class.py ........                                  [  5%]
tests/test_dependency_contextmanager.py ......................           [  6%]
tests/test_dependency_contextvars.py .                                   [  6%]
tests/test_dependency_duplicates.py .....                                [  6%]
tests/test_dependency_normal_exceptions.py ..                            [  6%]
tests/test_dependency_overrides.py ................................      [  8%]
tests/test_dependency_security_overrides.py ...                          [  8%]
tests/test_deprecated_openapi_prefix.py ..                               [  8%]
tests/test_duplicate_models_openapi.py ..                                [  8%]
tests/test_empty_router.py ..                                            [  8%]
tests/test_enforce_once_required_parameter.py ...                        [  9%]
tests/test_exception_handlers.py ....                                    [  9%]
tests/test_extra_routes.py ........                                      [  9%]
tests/test_filter_pydantic_sub_model_pv2.py ...                          [  9%]
tests/test_forms_from_non_typing_sequences.py ...                        [  9%]
tests/test_generate_unique_id_function.py ........                       [ 10%]
tests/test_get_request_body.py ..                                        [ 10%]
tests/test_http_connection_injection.py ..                               [ 10%]
tests/test_include_route.py .                                            [ 10%]
tests/test_include_router_defaults_overrides.py ........................ [ 11%]
...................                                                      [ 12%]
tests/test_infer_param_optionality.py .........                          [ 13%]
tests/test_inherited_custom_class.py .s                                  [ 13%]
tests/test_invalid_path_param.py .......                                 [ 13%]
tests/test_invalid_sequence_param.py ....                                [ 13%]
tests/test_jsonable_encoder.py ......s....s....s...                      [ 14%]
tests/test_local_docs.py .....                                           [ 14%]
tests/test_multi_body_errors.py ....                                     [ 15%]
tests/test_multi_query_errors.py ...                                     [ 15%]
tests/test_multipart_installation.py ..........                          [ 15%]
tests/test_no_swagger_ui_redirect.py ...                                 [ 15%]
tests/test_openapi_examples.py ..                                        [ 15%]
tests/test_openapi_query_parameter_extension.py ..                       [ 16%]
tests/test_openapi_route_extensions.py ..                                [ 16%]
tests/test_openapi_separate_input_output_schemas.py ......               [ 16%]
tests/test_openapi_servers.py ..                                         [ 16%]
tests/test_operations_signatures.py .                                    [ 16%]
tests/test_orjson_response_class.py .                                    [ 16%]
tests/test_param_class.py ..                                             [ 16%]
tests/test_param_in_path_and_dependency.py ..                            [ 16%]
tests/test_param_include_in_schema.py ........                           [ 17%]
tests/test_params_repr.py ...........................                    [ 18%]
tests/test_path.py ..................................................... [ 21%]
......................                                                   [ 22%]
tests/test_put_no_body.py ...                                            [ 22%]
tests/test_query.py .........................                            [ 23%]
tests/test_read_with_orm_mode.py .s                                      [ 23%]
tests/test_regex_deprecated_body.py ....                                 [ 23%]
tests/test_regex_deprecated_params.py ....                               [ 24%]
tests/test_repeated_cookie_headers.py .                                  [ 24%]
tests/test_repeated_dependency_schema.py ..                              [ 24%]
tests/test_repeated_parameter_alias.py ..                                [ 24%]
tests/test_reponse_set_reponse_code_empty.py ..                          [ 24%]
tests/test_request_body_parameters_media_type.py .                       [ 24%]
tests/test_required_noneable.py .......                                  [ 24%]
tests/test_response_by_alias.py ..........                               [ 25%]
tests/test_response_change_status_code.py .                              [ 25%]
tests/test_response_class_no_mediatype.py .                              [ 25%]
tests/test_response_code_no_body.py ..                                   [ 25%]
tests/test_response_model_as_return_annotation.py ...................... [ 26%]
................                                                         [ 27%]
tests/test_response_model_data_filter.py ...                             [ 27%]
tests/test_response_model_data_filter_no_inheritance.py ...              [ 27%]
tests/test_response_model_include_exclude.py ......                      [ 27%]
tests/test_response_model_invalid.py ....                                [ 28%]
tests/test_response_model_sub_types.py ..                                [ 28%]
tests/test_route_scope.py .....                                          [ 28%]
tests/test_router_events.py ..                                           [ 28%]
tests/test_router_prefix_with_template.py .                              [ 28%]
tests/test_router_redirect_slashes.py ..                                 [ 28%]
tests/test_schema_extra_examples.py ..                                   [ 28%]
tests/test_security_api_key_cookie.py ...                                [ 28%]
tests/test_security_api_key_cookie_description.py ...                    [ 29%]
tests/test_security_api_key_cookie_optional.py ...                       [ 29%]
tests/test_security_api_key_header.py ...                                [ 29%]
tests/test_security_api_key_header_description.py ...                    [ 29%]
tests/test_security_api_key_header_optional.py ...                       [ 29%]
tests/test_security_api_key_query.py ...                                 [ 29%]
tests/test_security_api_key_query_description.py ...                     [ 29%]
tests/test_security_api_key_query_optional.py ...                        [ 30%]
tests/test_security_http_base.py ...                                     [ 30%]
tests/test_security_http_base_description.py ...                         [ 30%]
tests/test_security_http_base_optional.py ...                            [ 30%]
tests/test_security_http_basic_optional.py .....                         [ 30%]
tests/test_security_http_basic_realm.py .....                            [ 30%]
tests/test_security_http_basic_realm_description.py .....                [ 31%]
tests/test_security_http_bearer.py ....                                  [ 31%]
tests/test_security_http_bearer_description.py ....                      [ 31%]
tests/test_security_http_bearer_optional.py ....                         [ 31%]
tests/test_security_http_digest.py ....                                  [ 32%]
tests/test_security_http_digest_description.py ....                      [ 32%]
tests/test_security_http_digest_optional.py ....                         [ 32%]
tests/test_security_oauth2.py ........                                   [ 32%]
tests/test_security_oauth2_authorization_code_bearer.py ....             [ 32%]
tests/test_security_oauth2_authorization_code_bearer_description.py .... [ 33%]
                                                                         [ 33%]
tests/test_security_oauth2_optional.py ........                          [ 33%]
tests/test_security_oauth2_optional_description.py ........              [ 33%]
tests/test_security_oauth2_password_bearer_optional.py ....              [ 34%]
tests/test_security_oauth2_password_bearer_optional_description.py ....  [ 34%]
tests/test_security_openid_connect.py ....                               [ 34%]
tests/test_security_openid_connect_description.py ....                   [ 34%]
tests/test_security_openid_connect_optional.py ....                      [ 34%]
tests/test_serialize_response.py ...                                     [ 35%]
tests/test_serialize_response_dataclass.py .......                       [ 35%]
tests/test_serialize_response_model.py ........                          [ 35%]
tests/test_skip_defaults.py .....                                        [ 36%]
tests/test_starlette_exception.py .......                                [ 36%]
tests/test_starlette_urlconvertors.py .....                              [ 36%]
tests/test_sub_callbacks.py ..                                           [ 36%]
tests/test_swagger_ui_init_oauth.py ..                                   [ 36%]
tests/test_tuples.py .......                                             [ 37%]
tests/test_typing_python39.py .                                          [ 37%]
tests/test_union_body.py ...                                             [ 37%]
tests/test_union_inherited_body.py ...                                   [ 37%]
tests/test_validate_response.py ......                                   [ 37%]
tests/test_validate_response_dataclass.py ...                            [ 37%]
tests/test_webhooks_security.py ..                                       [ 38%]
tests/test_ws_dependencies.py ...                                        [ 38%]
tests/test_ws_router.py ............                                     [ 38%]
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py s [ 38%]
ss                                                                       [ 38%]
tests/test_modules_same_name_body/test_main.py .....                     [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial001.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial002.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial003.py ...    [ 39%]
tests/test_tutorial/test_additional_responses/test_tutorial004.py ...    [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py ..  [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an.py . [ 39%]
.                                                                        [ 39%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py39.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py . [ 40%]
.                                                                        [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial001.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py .       [ 40%]
tests/test_tutorial/test_advanced_middleware/test_tutorial003.py .       [ 40%]
tests/test_tutorial/test_async_sql_databases/test_tutorial001.py s.      [ 40%]
tests/test_tutorial/test_async_tests/test_main.py ....                   [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial001.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002.py .          [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an.py .       [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py310.py . [ 40%]
                                                                         [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_an_py39.py .  [ 40%]
tests/test_tutorial/test_background_tasks/test_tutorial002_py310.py .    [ 40%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py ..           [ 41%]
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py ..           [ 41%]
tests/test_tutorial/test_bigger_applications/test_main.py .............. [ 42%]
...........                                                              [ 42%]
tests/test_tutorial/test_bigger_applications/test_main_an.py ........... [ 43%]
..............                                                           [ 43%]
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py ...... [ 44%]
...................                                                      [ 45%]
tests/test_tutorial/test_body/test_tutorial001.py ................       [ 45%]
tests/test_tutorial/test_body/test_tutorial001_py310.py ................ [ 46%]
                                                                         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001.py ....            [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an.py ....         [ 46%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py ....   [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py ....    [ 47%]
tests/test_tutorial/test_body_fields/test_tutorial001_py310.py ....      [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py .....  [ 47%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py ... [ 47%]
..                                                                       [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_an_py39.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial001_py310.py . [ 48%]
....                                                                     [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py ....   [ 48%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an.py ... [ 49%]
.                                                                        [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_multiple_params/test_tutorial003_py310.py . [ 49%]
...                                                                      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009.py ...      [ 49%]
tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py ... [ 50%]
                                                                         [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001.py ...s           [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py310.py ...s     [ 50%]
tests/test_tutorial/test_body_updates/test_tutorial001_py39.py ...s      [ 50%]
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py ...     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py ..     [ 50%]
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py ..     [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001.py .....         [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an.py .....      [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py310.py .... [ 51%]
.                                                                        [ 51%]
tests/test_tutorial/test_cookie_params/test_tutorial001_an_py39.py ..... [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_cookie_params/test_tutorial001_py310.py .....   [ 52%]
tests/test_tutorial/test_cors/test_tutorial001.py .                      [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py ....         [ 52%]
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py ....         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial001.py .. [ 52%]
.                                                                        [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py .. [ 52%]
                                                                         [ 52%]
tests/test_tutorial/test_custom_request_and_route/test_tutorial003.py .. [ 53%]
                                                                         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial001b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial004.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial005.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006.py ..          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006b.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial006c.py ..         [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial007.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial008.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009.py .           [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009b.py .          [ 53%]
tests/test_tutorial/test_custom_response/test_tutorial009c.py .          [ 53%]
tests/test_tutorial/test_dataclasses/test_tutorial001.py ...             [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial002.py ..              [ 54%]
tests/test_tutorial/test_dataclasses/test_tutorial003.py ...s            [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001.py ......         [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an.py ......      [ 54%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py310.py ..... [ 55%]
.                                                                        [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_an_py39.py ...... [ 55%]
                                                                         [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial001_py310.py ......   [ 55%]
tests/test_tutorial/test_dependencies/test_tutorial004.py .......        [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an.py .......     [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py310.py ..... [ 56%]
..                                                                       [ 56%]
tests/test_tutorial/test_dependencies/test_tutorial004_an_py39.py ...... [ 57%]
.                                                                        [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial004_py310.py .......  [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006.py .....          [ 57%]
tests/test_tutorial/test_dependencies/test_tutorial006_an.py .....       [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial006_an_py39.py .....  [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b.py ...           [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py ...        [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial008b_an_py39.py ...   [ 58%]
tests/test_tutorial/test_dependencies/test_tutorial012.py .........      [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an.py .........   [ 59%]
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py ...... [ 59%]
...                                                                      [ 60%]
tests/test_tutorial/test_events/test_tutorial001.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial002.py ..                   [ 60%]
tests/test_tutorial/test_events/test_tutorial003.py ..                   [ 60%]
tests/test_tutorial/test_extending_openapi/test_tutorial001.py ..        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001.py ..         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py ..      [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py310.py . [ 60%]
.                                                                        [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_an_py39.py .. [ 60%]
                                                                         [ 60%]
tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py ..   [ 60%]
tests/test_tutorial/test_extra_models/test_tutorial003.py ...            [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial003_py310.py ...      [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial004_py39.py ..        [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005.py ..             [ 61%]
tests/test_tutorial/test_extra_models/test_tutorial005_py39.py ..        [ 61%]
tests/test_tutorial/test_first_steps/test_tutorial001.py ...             [ 61%]
tests/test_tutorial/test_generate_clients/test_tutorial003.py ....       [ 61%]
tests/test_tutorial/test_handling_errors/test_tutorial001.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial002.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial003.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial004.py ....        [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial005.py ...         [ 62%]
tests/test_tutorial/test_handling_errors/test_tutorial006.py ....        [ 62%]
tests/test_tutorial/test_header_params/test_tutorial001.py ....          [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an.py ....       [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_an_py310.py .... [ 63%]
                                                                         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial001_py310.py ....    [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002.py .....         [ 63%]
tests/test_tutorial/test_header_params/test_tutorial002_an.py .....      [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py310.py .... [ 64%]
.                                                                        [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_an_py39.py ..... [ 64%]
                                                                         [ 64%]
tests/test_tutorial/test_header_params/test_tutorial002_py310.py .....   [ 64%]
tests/test_tutorial/test_header_params/test_tutorial003.py ...           [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an.py ...        [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py310.py ...  [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py ...   [ 65%]
tests/test_tutorial/test_header_params/test_tutorial003_py310.py ...     [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001.py ..                 [ 65%]
tests/test_tutorial/test_metadata/test_tutorial001_1.py ..               [ 65%]
tests/test_tutorial/test_metadata/test_tutorial004.py ..                 [ 65%]
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py ...       [ 66%]
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py ...        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py . [ 66%]
.s                                                                       [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial005.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py . [ 66%]
.                                                                        [ 66%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007.py . [ 66%]
...                                                                      [ 67%]
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial007_pv1.py s [ 67%]
sss                                                                      [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial002b.py . [ 67%]
..                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py310.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py . [ 67%]
.s                                                                       [ 67%]
tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py . [ 67%]
...                                                                      [ 68%]
tests/test_tutorial/test_path_params/test_tutorial004.py ...             [ 68%]
tests/test_tutorial/test_path_params/test_tutorial005.py .....           [ 68%]
tests/test_tutorial/test_query_params/test_tutorial005.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006.py ...            [ 68%]
tests/test_tutorial/test_query_params/test_tutorial006_py310.py ...      [ 68%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010.py . [ 68%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py310.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_an_py39.py . [ 69%]
....                                                                     [ 69%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial010_py310.py . [ 69%]
....                                                                     [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_an_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py310.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial011_py39.py . [ 70%]
..                                                                       [ 70%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py . [ 70%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial013_an_py39.py . [ 71%]
..                                                                       [ 71%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_py310.py . [ 72%]
..                                                                       [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001.py ......        [ 72%]
tests/test_tutorial/test_request_files/test_tutorial001_02.py .....      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py .....   [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py310.py . [ 73%]
....                                                                     [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py .. [ 73%]
...                                                                      [ 73%]
tests/test_tutorial/test_request_files/test_tutorial001_02_py310.py .... [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03.py ...        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py ...     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py .. [ 74%]
.                                                                        [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an.py ......     [ 74%]
tests/test_tutorial/test_request_files/test_tutorial001_an_py39.py ..... [ 75%]
.                                                                        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002.py ......        [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an.py ......     [ 75%]
tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py ..... [ 76%]
.                                                                        [ 76%]
tests/test_tutorial/test_request_files/test_tutorial002_py39.py ......   [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003.py ....          [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an.py ....       [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py ....  [ 76%]
tests/test_tutorial/test_request_files/test_tutorial003_py39.py ....     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001.py ......        [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an.py ......     [ 77%]
tests/test_tutorial/test_request_forms/test_tutorial001_an_py39.py ..... [ 78%]
.                                                                        [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py ... [ 78%]
...                                                                      [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py . [ 78%]
.....                                                                    [ 78%]
tests/test_tutorial/test_response_change_status_code/test_tutorial001.py . [ 78%]
                                                                         [ 78%]
tests/test_tutorial/test_response_cookies/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_cookies/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial001.py .          [ 79%]
tests/test_tutorial/test_response_headers/test_tutorial002.py .          [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003.py ..           [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_01_py310.py ..  [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_02.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_03.py ..        [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04.py .         [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_04_py310.py .   [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05.py ...       [ 79%]
tests/test_tutorial/test_response_model/test_tutorial003_05_py310.py ... [ 80%]
                                                                         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial003_py310.py ..     [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004.py ....         [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py310.py ....   [ 80%]
tests/test_tutorial/test_response_model/test_tutorial004_py39.py ....    [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005.py ...          [ 80%]
tests/test_tutorial/test_response_model/test_tutorial005_py310.py ...    [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006.py ...          [ 81%]
tests/test_tutorial/test_response_model/test_tutorial006_py310.py ...    [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_pv1.py ss [ 81%]
                                                                         [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py . [ 81%]
.                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310_pv1.py s [ 81%]
s                                                                        [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py ..     [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an.py ..  [ 81%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py310.py . [ 81%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial004_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py ..     [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an.py ..  [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py39.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py . [ 82%]
.                                                                        [ 82%]
tests/test_tutorial/test_security/test_tutorial001.py ....               [ 82%]
tests/test_tutorial/test_security/test_tutorial001_an.py ....            [ 83%]
tests/test_tutorial/test_security/test_tutorial001_an_py39.py ....       [ 83%]
tests/test_tutorial/test_security/test_tutorial003.py .........          [ 83%]
tests/test_tutorial/test_security/test_tutorial003_an.py .........       [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py310.py ......... [ 84%]
                                                                         [ 84%]
tests/test_tutorial/test_security/test_tutorial003_an_py39.py .........  [ 85%]
tests/test_tutorial/test_security/test_tutorial003_py310.py .........    [ 85%]
tests/test_tutorial/test_security/test_tutorial005.py .................. [ 86%]
.                                                                        [ 86%]
tests/test_tutorial/test_security/test_tutorial005_an.py ............... [ 87%]
....                                                                     [ 87%]
tests/test_tutorial/test_security/test_tutorial005_an_py310.py ......... [ 87%]
..........                                                               [ 88%]
tests/test_tutorial/test_security/test_tutorial005_an_py39.py .......... [ 88%]
.........                                                                [ 89%]
tests/test_tutorial/test_security/test_tutorial005_py310.py ............ [ 89%]
.......                                                                  [ 90%]
tests/test_tutorial/test_security/test_tutorial005_py39.py ............. [ 90%]
......                                                                   [ 91%]
tests/test_tutorial/test_security/test_tutorial006.py .....              [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an.py .....           [ 91%]
tests/test_tutorial/test_security/test_tutorial006_an_py39.py .....      [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py .. [ 91%]
.                                                                        [ 91%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py310.py . [ 91%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002.py .. [ 92%]
.                                                                        [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py310.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial002_py39.py . [ 92%]
..                                                                       [ 92%]
tests/test_tutorial/test_settings/test_app02.py ..                       [ 92%]
tests/test_tutorial/test_settings/test_tutorial001.py .                  [ 92%]
tests/test_tutorial/test_settings/test_tutorial001_pv1.py s              [ 92%]
tests/test_tutorial/test_sql_databases/test_sql_databases.py sssssss     [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py310.py s [ 93%]
ssssss                                                                   [ 93%]
tests/test_tutorial/test_sql_databases/test_sql_databases_middleware_py39.py s [ 93%]
ssssss                                                                   [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py310.py sssss [ 94%]
ss                                                                       [ 94%]
tests/test_tutorial/test_sql_databases/test_sql_databases_py39.py ssssss [ 94%]
s                                                                        [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases.py s       [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py310.py s [ 94%]
                                                                         [ 94%]
tests/test_tutorial/test_sql_databases/test_testing_databases_py39.py s  [ 95%]
tests/test_tutorial/test_sub_applications/test_tutorial001.py ....       [ 95%]
tests/test_tutorial/test_templates/test_tutorial001.py F                 [ 95%]
tests/test_tutorial/test_testing/test_main.py ...                        [ 95%]
tests/test_tutorial/test_testing/test_main_b.py .                        [ 95%]
tests/test_tutorial/test_testing/test_main_b_an.py .                     [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py310.py .               [ 95%]
tests/test_tutorial/test_testing/test_main_b_an_py39.py .                [ 95%]
tests/test_tutorial/test_testing/test_main_b_py310.py .                  [ 95%]
tests/test_tutorial/test_testing/test_tutorial001.py ...                 [ 95%]
tests/test_tutorial/test_testing/test_tutorial002.py ....                [ 96%]
tests/test_tutorial/test_testing/test_tutorial003.py .                   [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py ...... [ 96%]
....                                                                     [ 96%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an.py ... [ 96%]
.......                                                                  [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py310.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_an_py39.py . [ 97%]
......                                                                   [ 97%]
tests/test_tutorial/test_testing_dependencies/test_tutorial001_py310.py . [ 97%]
......                                                                   [ 98%]
tests/test_tutorial/test_websockets/test_tutorial001.py ..               [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002.py ......           [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an.py ......        [ 98%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py ......  [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py ......   [ 99%]
tests/test_tutorial/test_websockets/test_tutorial002_py310.py ......     [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003.py ..               [ 99%]
tests/test_tutorial/test_websockets/test_tutorial003_py39.py ..          [ 99%]
tests/test_tutorial/test_wsgi/test_tutorial001.py ..                     [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv1.py s [ 99%]
                                                                         [ 99%]
tests/test_validate_response_recursive/test_validate_response_recursive_pv2.py . [100%]

=================================== FAILURES ===================================
__________________________________ test_main ___________________________________

    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
        from docs_src.templates.tutorial001 import app
    
        client = TestClient(app)
>       response = client.get("/items/foo")

tests/test_tutorial/test_templates/test_tutorial001.py:17: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:502: in get
    return super().get(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:1041: in get
    return self.request(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:468: in request
    return super().request(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:814: in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:901: in send
    response = self._send_handling_auth(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:929: in _send_handling_auth
    response = self._send_handling_redirects(
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:966: in _send_handling_redirects
    response = self._send_single_request(request)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/httpx/_client.py:1002: in _send_single_request
    response = transport.handle_request(request)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:344: in handle_request
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/testclient.py:341: in handle_request
    portal.call(self.app, scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/anyio/from_thread.py:277: in call
    return cast(T_Retval, self.start_task_soon(func, *args).result())
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/concurrent/futures/_base.py:456: in result
    return self.__get_result()
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/concurrent/futures/_base.py:401: in __get_result
    raise self._exception
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/anyio/from_thread.py:217: in _call_func
    retval = await retval
fastapi/applications.py:1054: in __call__
    await super().__call__(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/applications.py:116: in __call__
    await self.middleware_stack(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/errors.py:186: in __call__
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/errors.py:164: in __call__
    await self.app(scope, receive, _send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/middleware/exceptions.py:62: in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:746: in __call__
    await route.handle(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:288: in handle
    await self.app(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:75: in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:55: in wrapped_app
    raise exc
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/_exception_handler.py:44: in wrapped_app
    await app(scope, receive, sender)
/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/routing.py:70: in app
    response = await func(request)
fastapi/routing.py:299: in app
    raise e
fastapi/routing.py:294: in app
    raw_response = await run_endpoint_function(
fastapi/routing.py:191: in run_endpoint_function
    return await dependant.call(**values)
docs_src/templates/tutorial001.py:16: in read_item
    return templates.TemplateResponse(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <starlette.templating.Jinja2Templates object at 0x7f6c33887250>
args = ()
kwargs = {'context': {'id': 'foo', 'request': <starlette.requests.Request object at 0x7f6c3373cb10>}, 'name': 'item.html'}

    def TemplateResponse(
        self, *args: typing.Any, **kwargs: typing.Any
    ) -> _TemplateResponse:
        if args:
            if isinstance(
                args[0], str
            ):  # the first argument is template name (old style)
                warnings.warn(
                    "The `name` is not the first parameter anymore. "
                    "The first parameter should be the `Request` instance.\n"
                    'Replace `TemplateResponse(name, {"request": request})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
    
                name = args[0]
                context = args[1] if len(args) > 1 else kwargs.get("context", {})
                status_code = (
                    args[2] if len(args) > 2 else kwargs.get("status_code", 200)
                )
                headers = args[2] if len(args) > 2 else kwargs.get("headers")
                media_type = args[3] if len(args) > 3 else kwargs.get("media_type")
                background = args[4] if len(args) > 4 else kwargs.get("background")
    
                if "request" not in context:
                    raise ValueError('context must include a "request" key')
                request = context["request"]
            else:  # the first argument is a request instance (new style)
                request = args[0]
                name = args[1] if len(args) > 1 else kwargs["name"]
                context = args[2] if len(args) > 2 else kwargs.get("context", {})
                status_code = (
                    args[3] if len(args) > 3 else kwargs.get("status_code", 200)
                )
                headers = args[4] if len(args) > 4 else kwargs.get("headers")
                media_type = args[5] if len(args) > 5 else kwargs.get("media_type")
                background = args[6] if len(args) > 6 else kwargs.get("background")
        else:  # all arguments are kwargs
            if "request" not in kwargs:
>               warnings.warn(
                    "The `TemplateResponse` now requires the `request` argument.\n"
                    'Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.',  # noqa: E501
                    DeprecationWarning,
                )
E               DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
E               Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.

/opt/hostedtoolcache/Python/3.11.7/x64/lib/python3.11/site-packages/starlette/templating.py:203: DeprecationWarning
=========================== short test summary info ============================
FAILED tests/test_tutorial/test_templates/test_tutorial001.py::test_main - DeprecationWarning: The `TemplateResponse` now requires the `request` argument.
Replace `TemplateResponse(name, {"context": context})` by `TemplateResponse(request, name)`.
================= 1 failed, 1979 passed, 75 skipped in 45.20s ==================
##[error]Process completed with exit code 1.

step_name: check/3_Decide whether the needed jobs succeeded or failed.txt
log: ##[group]Run re-actors/alls-green@release/v1
with:
  jobs: {
  allowed-failures: []
  allowed-skips: []
##[endgroup]
##[group]Run python -m normalize_needed_jobs_status \
[36;1mpython -m normalize_needed_jobs_status \[0m
[36;1m"$(cat << EOM[0m
[36;1m  [][0m
[36;1mEOM[0m
[36;1m)" \[0m
[36;1m"$(cat << EOM[0m
[36;1m  [][0m
[36;1mEOM[0m
[36;1m)" \[0m
[36;1m"$(cat << EOM[0m
[36;1m  {[0m
[36;1m  "coverage-combine": {[0m
[36;1m    "result": "skipped",[0m
[36;1m    "outputs": {}[0m
[36;1m  }[0m
[36;1m}[0m
[36;1mEOM[0m
[36;1m)"[0m
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
  PYTHONPATH: /home/runner/work/_actions/re-actors/alls-green/release/v1/src
##[endgroup]
# ❌ Some of the required to succeed jobs failed 😢😢😢

📝 Job statuses:
📝 coverage-combine → ⬜ skipped [required to succeed]
##[error]Process completed with exit code 1.


Changed files:
docs_src/templates/tutorial001.py
fastapi/openapi/docs.py

Fix diff:
diff --git a/docs_src/templates/tutorial001.py b/docs_src/templates/tutorial001.py
index 385c31b6..81ccc8d4 100644
--- a/docs_src/templates/tutorial001.py
+++ b/docs_src/templates/tutorial001.py
@@ -14,5 +14,5 @@ templates = Jinja2Templates(directory="templates")
 @app.get("/items/{id}", response_class=HTMLResponse)
 async def read_item(request: Request, id: str):
     return templates.TemplateResponse(
-        name="item.html", context={"request": request, "id": id}
+        request=request, name="item.html", context={"id": id}
     )
diff --git a/fastapi/openapi/docs.py b/fastapi/openapi/docs.py
index 69473d19..1546c2c7 100644
--- a/fastapi/openapi/docs.py
+++ b/fastapi/openapi/docs.py
@@ -22,6 +22,8 @@ swagger_ui_default_parameters: Annotated[
     "showCommonExtensions": True,
 }
 
+redoc_ui_default_parameters: Dict[str, Any] = {}
+
 
 def get_swagger_ui_html(
     *,
@@ -205,6 +207,7 @@ def get_redoc_html(
             """
         ),
     ] = True,
+    redoc_ui_parameters: Optional[Dict[str, Any]] = None,
 ) -> HTMLResponse:
     """
     Generate and return the HTML response that loads ReDoc for the alternative
@@ -216,6 +219,20 @@ def get_redoc_html(
     Read more about it in the
     [FastAPI docs for Custom Docs UI Static Assets (Self-Hosting)](https://fastapi.tiangolo.com/how-to/custom-docs-ui-assets/).
     """
+
+    current_redoc_ui_parameters = redoc_ui_default_parameters.copy()
+    if redoc_ui_parameters:
+        current_redoc_ui_parameters.update(redoc_ui_parameters)
+
+    def add_redoc_ui_parameters() -> str:
+        _props = ""
+        for key, value in current_redoc_ui_parameters.items():
+            if value:
+                _props += f"{key}='{json.dumps(jsonable_encoder(value))}' "
+            else:
+                _props += f"{key} "
+        return _props
+
     html = f"""
     <!DOCTYPE html>
     <html>
@@ -245,7 +262,7 @@ def get_redoc_html(
     <noscript>
         ReDoc requires Javascript to function. Please enable it to browse the documentation.
     </noscript>
-    <redoc spec-url="{openapi_url}"></redoc>
+    <redoc spec-url="{openapi_url}" {add_redoc_ui_parameters()}></redoc>
     <script src="{redoc_js_url}"> </script>
     </body>
     </html>