bump: pydatic 2.3.0, tests

This commit is contained in:
Georg K
2023-08-29 14:28:27 +03:00
parent 7ce5e5d0d4
commit 82c638c1e0
6 changed files with 15 additions and 15 deletions

View File

@@ -46,7 +46,7 @@ async def test_post_an_article_without_required_field_should_return_an_error_mes
'loc_in': 'body',
'msg': 'Field required',
'type': 'missing',
'url': 'https://errors.pydantic.dev/2.1.2/v/missing'
'url': 'https://errors.pydantic.dev/2.3/v/missing'
}
]
@@ -68,7 +68,7 @@ async def test_post_an_article_with_wrong_type_field_should_return_an_error_mess
'loc_in': 'body',
'msg': 'Input should be a valid integer, unable to parse string as an integer',
'type': 'int_parsing',
'url': 'https://errors.pydantic.dev/2.1.2/v/int_parsing'
'url': 'https://errors.pydantic.dev/2.3/v/int_parsing'
}
]
@@ -123,7 +123,7 @@ async def test_post_an_object_json_to_a_list_model_should_return_an_error(
'loc_in': 'body',
'msg': 'Input should be a valid list',
'type': 'list_type',
'url': 'https://errors.pydantic.dev/2.1.2/v/list_type'
'url': 'https://errors.pydantic.dev/2.3/v/list_type'
}
]