From 726460a2ca4817a1b7a5c7798147996d7b7e5e2d Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 9 Mar 2023 14:24:30 +0300 Subject: auth: redis data: migrate data in redis Implement the code to migrate the data from redis to SQLite. --- tests/unit/auth/test_groups.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/unit/auth/test_groups.py') 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) -- cgit v1.2.3