From c90fe4cc8ff2f1ec46380f5b7c8433bcd469dc9d Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 2 Nov 2023 22:35:24 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(test=5Fuser.py):=20fix=20lin?= =?UTF-8?q?ting=20issue=20by=20adding=20noqa=20comment=20to=20long=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_user.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_user.py b/tests/test_user.py index b4f18cbea..14e99ec11 100644 --- a/tests/test_user.py +++ b/tests/test_user.py @@ -214,10 +214,10 @@ def test_patch_user_wrong_id(client, active_user, logged_in_headers): { "type": "uuid_parsing", "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", "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", } @@ -241,10 +241,10 @@ def test_delete_user_wrong_id(client, test_user, super_user_headers): { "type": "uuid_parsing", "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", "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", }