diff options
-rw-r--r-- | tests/unit/auth/test_roles.py | 2 |
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 |