Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Sep 17, 2024
1 parent a423240 commit 329121c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/no_version/test_unit_schemas_no_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 329121c

Please sign in to comment.