aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/auth/test_roles.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/auth/test_roles.py')
-rw-r--r--tests/unit/auth/test_roles.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/auth/test_roles.py b/tests/unit/auth/test_roles.py
index 56ad39e..bee03fc 100644
--- a/tests/unit/auth/test_roles.py
+++ b/tests/unit/auth/test_roles.py
@@ -99,4 +99,5 @@ def test_user_roles(fxtr_group_user_roles, user, expected):
WHEN: we request the user's privileges
THEN: return **ALL** the privileges attached to the user
"""
- assert user_roles(fxtr_group_user_roles, user) == expected
+ conn, *_others = fxtr_group_user_roles
+ assert user_roles(conn, user) == expected