diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/auth/test_groups.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/auth/test_groups.py b/tests/unit/auth/test_groups.py index 7f4f02b..60b67a7 100644 --- a/tests/unit/auth/test_groups.py +++ b/tests/unit/auth/test_groups.py @@ -163,7 +163,6 @@ def test_user_group(fxtr_users_in_group, user, expected): Nothing """ conn, _group, _users = fxtr_users_in_group - with db.cursor(conn) as cursor: - assert ( - user_group(cursor, user).maybe(Nothing, lambda val: val) - == expected) + assert ( + user_group(conn, user).maybe(Nothing, lambda val: val) + == expected) |