mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-24 19:29:57 +00:00
replace no-log with quiet
Also behavior of the flag has been changed: now it disables logs at all
This commit is contained in:
@ -82,3 +82,10 @@ def test_verify_access_write(user: User) -> None:
|
||||
user.access = UserAccess.Write
|
||||
assert user.verify_access(UserAccess.Read)
|
||||
assert user.verify_access(UserAccess.Write)
|
||||
|
||||
|
||||
def test_repr(user: User) -> None:
|
||||
"""
|
||||
must print user without password
|
||||
"""
|
||||
assert "pa55w0rd" not in str(user)
|
||||
|
Reference in New Issue
Block a user