diff options
author | Frederick Muriuki Muriithi | 2023-03-09 14:24:30 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-03-09 14:24:30 +0300 |
commit | 726460a2ca4817a1b7a5c7798147996d7b7e5e2d (patch) | |
tree | 1fd0e5ad97ad1ebad0b618a91a833f41e79ff1d2 /tests/unit/auth/test_groups.py | |
parent | dc8fdfdee59136b2b324042622ed012b296e4fa9 (diff) | |
download | genenetwork3-726460a2ca4817a1b7a5c7798147996d7b7e5e2d.tar.gz |
auth: redis data: migrate data in redis
Implement the code to migrate the data from redis to SQLite.
Diffstat (limited to 'tests/unit/auth/test_groups.py')
-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) |