diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001.py b/tests/test_tutorial/test_body_fields/test_tutorial001.py index fd6139eb9b..3a0c6a6e84 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001.py @@ -132,7 +132,7 @@ def test_openapi_schema(client: TestClient): "name": {"title": "Name", "type": "string"}, "description": IsDict( { - "title": "The description of the item", + "title": "The title of the item", "anyOf": [ {"maxLength": 300, "type": "string"}, {"type": "null"}, @@ -142,7 +142,7 @@ def test_openapi_schema(client: TestClient): | IsDict( # TODO: remove when deprecating Pydantic v1 { - "title": "The description of the item", + "title": "The title of the item", "maxLength": 300, "type": "string", } diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001_an.py b/tests/test_tutorial/test_body_fields/test_tutorial001_an.py index 72c18c1f73..30f0a78679 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001_an.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001_an.py @@ -132,7 +132,7 @@ def test_openapi_schema(client: TestClient): "name": {"title": "Name", "type": "string"}, "description": IsDict( { - "title": "The description of the item", + "title": "The title of the item", "anyOf": [ {"maxLength": 300, "type": "string"}, {"type": "null"}, @@ -142,7 +142,7 @@ def test_openapi_schema(client: TestClient): | IsDict( # TODO: remove when deprecating Pydantic v1 { - "title": "The description of the item", + "title": "The title of the item", "maxLength": 300, "type": "string", } diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py b/tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py index 1bc62868fd..d622a4680f 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001_an_py310.py @@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient): "name": {"title": "Name", "type": "string"}, "description": IsDict( { - "title": "The description of the item", + "title": "The title of the item", "anyOf": [ {"maxLength": 300, "type": "string"}, {"type": "null"}, @@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient): | IsDict( # TODO: remove when deprecating Pydantic v1 { - "title": "The description of the item", + "title": "The title of the item", "maxLength": 300, "type": "string", } diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py b/tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py index 3c5557a1b2..17e6bbca7e 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001_an_py39.py @@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient): "name": {"title": "Name", "type": "string"}, "description": IsDict( { - "title": "The description of the item", + "title": "The title of the item", "anyOf": [ {"maxLength": 300, "type": "string"}, {"type": "null"}, @@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient): | IsDict( # TODO: remove when deprecating Pydantic v1 { - "title": "The description of the item", + "title": "The title of the item", "maxLength": 300, "type": "string", } diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001_py310.py b/tests/test_tutorial/test_body_fields/test_tutorial001_py310.py index 8c1386aa67..3c6988d2ae 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001_py310.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001_py310.py @@ -138,7 +138,7 @@ def test_openapi_schema(client: TestClient): "name": {"title": "Name", "type": "string"}, "description": IsDict( { - "title": "The description of the item", + "title": "The title of the item", "anyOf": [ {"maxLength": 300, "type": "string"}, {"type": "null"}, @@ -148,7 +148,7 @@ def test_openapi_schema(client: TestClient): | IsDict( # TODO: remove when deprecating Pydantic v1 { - "title": "The description of the item", + "title": "The title of the item", "maxLength": 300, "type": "string", }