From 329121cbac96baf87d7973ea203258af38250916 Mon Sep 17 00:00:00 2001 From: Tommaso Comparin <3862206+tcompa@users.noreply.github.com> Date: Tue, 17 Sep 2024 13:16:12 +0200 Subject: [PATCH] precommit --- tests/no_version/test_unit_schemas_no_version.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/no_version/test_unit_schemas_no_version.py b/tests/no_version/test_unit_schemas_no_version.py index 3af5ff50ed..f7c17c0bca 100644 --- a/tests/no_version/test_unit_schemas_no_version.py +++ b/tests/no_version/test_unit_schemas_no_version.py @@ -83,12 +83,11 @@ def test_user_create(): assert "must be an absolute path" in e.value.errors()[0]["msg"] # With invalid cache_dir attribute with pytest.raises( - ValidationError, - match="must not contain any of this characters" + ValidationError, match="must not contain any of this characters" ) as e: UserCreate(email="a@b.c", password="asd", cache_dir=f"{CACHE_DIR}*;") debug(e.value) - + # With all attributes u = UserCreate( email="a@b.c",