🐛 fix(test_user.py): fix linting issue by adding noqa comment to long lines
This commit is contained in:
parent
640c2b6ef2
commit
c90fe4cc8f
1 changed files with 4 additions and 4 deletions
|
|
@ -214,10 +214,10 @@ def test_patch_user_wrong_id(client, active_user, logged_in_headers):
|
||||||
{
|
{
|
||||||
"type": "uuid_parsing",
|
"type": "uuid_parsing",
|
||||||
"loc": ["path", "user_id"],
|
"loc": ["path", "user_id"],
|
||||||
"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",
|
"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",
|
"input": "wrong_id",
|
||||||
"ctx": {
|
"ctx": {
|
||||||
"error": "invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1"
|
"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",
|
"url": "https://errors.pydantic.dev/2.4/v/uuid_parsing",
|
||||||
}
|
}
|
||||||
|
|
@ -241,10 +241,10 @@ def test_delete_user_wrong_id(client, test_user, super_user_headers):
|
||||||
{
|
{
|
||||||
"type": "uuid_parsing",
|
"type": "uuid_parsing",
|
||||||
"loc": ["path", "user_id"],
|
"loc": ["path", "user_id"],
|
||||||
"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",
|
"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",
|
"input": "wrong_id",
|
||||||
"ctx": {
|
"ctx": {
|
||||||
"error": "invalid character: expected an optional prefix of `urn:uuid:` followed by [0-9a-fA-F-], found `w` at 1"
|
"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",
|
"url": "https://errors.pydantic.dev/2.4/v/uuid_parsing",
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue