bump: pydatic 2.3.0, tests
This commit is contained in:
@@ -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'
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user