feat: bump packages, fix tests; fix: pydantic .dict() to .model_dump(); bump: 2.0.4
This commit is contained in:
@@ -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.4/v/missing',
|
||||
'url': 'https://errors.pydantic.dev/2.5/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.4/v/datetime_parsing',
|
||||
'url': 'https://errors.pydantic.dev/2.5/v/datetime_parsing',
|
||||
'loc_in': 'headers'
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user