Merge remote-tracking branch 'origin/dev' into feature/store
This commit is contained in:
commit
60f6d08fc3
123 changed files with 2288 additions and 1124 deletions
|
|
@ -202,9 +202,14 @@ def test_patch_user_wrong_id(client, active_user, logged_in_headers):
|
|||
assert response.json() == {
|
||||
"detail": [
|
||||
{
|
||||
"type": "uuid_parsing",
|
||||
"loc": ["path", "user_id"],
|
||||
"msg": "value is not a valid uuid",
|
||||
"type": "type_error.uuid",
|
||||
"msg": "Input should be a valid UUID, invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1", # noqa
|
||||
"input": "wrong_id",
|
||||
"ctx": {
|
||||
"error": "invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1" # noqa
|
||||
},
|
||||
"url": "https://errors.pydantic.dev/2.4/v/uuid_parsing",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -224,9 +229,14 @@ def test_delete_user_wrong_id(client, test_user, super_user_headers):
|
|||
assert response.json() == {
|
||||
"detail": [
|
||||
{
|
||||
"type": "uuid_parsing",
|
||||
"loc": ["path", "user_id"],
|
||||
"msg": "value is not a valid uuid",
|
||||
"type": "type_error.uuid",
|
||||
"msg": "Input should be a valid UUID, invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1", # noqa
|
||||
"input": "wrong_id",
|
||||
"ctx": {
|
||||
"error": "invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1" # noqa
|
||||
},
|
||||
"url": "https://errors.pydantic.dev/2.4/v/uuid_parsing",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue