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

@@ -80,7 +80,7 @@ async def test_get_article_without_required_header_should_return_an_error_messag
'type': 'missing',
'loc': ['signature_expired'],
'msg': 'Field required',
'url': 'https://errors.pydantic.dev/2.1.2/v/missing',
'url': 'https://errors.pydantic.dev/2.3/v/missing',
'loc_in': 'headers'
}
]
@@ -104,7 +104,7 @@ async def test_get_article_with_wrong_header_type_should_return_an_error_message
'msg': 'Input should be a valid datetime, input is too short',
'input': 'foo',
'ctx': {'error': 'input is too short'},
'url': 'https://errors.pydantic.dev/2.1.2/v/datetime_parsing',
'url': 'https://errors.pydantic.dev/2.3/v/datetime_parsing',
'loc_in': 'headers'
}
]