aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/auth')
-rw-r--r--tests/unit/auth/test_roles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/auth/test_roles.py b/tests/unit/auth/test_roles.py
index bee03fc..7252bfe 100644
--- a/tests/unit/auth/test_roles.py
+++ b/tests/unit/auth/test_roles.py
@@ -100,4 +100,4 @@ def test_user_roles(fxtr_group_user_roles, user, expected):
THEN: return **ALL** the privileges attached to the user
"""
conn, *_others = fxtr_group_user_roles
- assert user_roles(conn, user) == expected
+ assert user_roles(conn, user).maybe(tuple(), lambda rls: rls) == expected