📝Fixed tests regarding the typo

This commit is contained in:
Dauletkhan Assanov 2024-05-06 10:45:01 +05:00
parent 88a7f70e8e
commit e8efce6c42
5 changed files with 10 additions and 10 deletions

View File

@ -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",
}

View File

@ -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",
}

View File

@ -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",
}

View File

@ -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",
}

View File

@ -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",
}