diff options
author | Frederick Muriuki Muriithi | 2022-12-12 13:26:28 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-12-12 13:28:14 +0300 |
commit | 6c077671e9afdb4921e72d0a3018e3d8dedada8b (patch) | |
tree | ce10d9c701510eeaf805c0731c8bb63f81065351 /tests/unit/auth | |
parent | 8d728774bfc5371c61b483cb5470f45456de028b (diff) | |
download | genenetwork3-6c077671e9afdb4921e72d0a3018e3d8dedada8b.tar.gz |
auth: Attach group to GroupRole, rather than group_id
Diffstat (limited to 'tests/unit/auth')
-rw-r--r-- | tests/unit/auth/test_groups.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/auth/test_groups.py b/tests/unit/auth/test_groups.py index 9eef0e9..e1b44cc 100644 --- a/tests/unit/auth/test_groups.py +++ b/tests/unit/auth/test_groups.py @@ -58,6 +58,7 @@ create_role_failure = { "user,expected", tuple(zip(conftest.TEST_USERS, ( GroupRole( UUID("d32611e3-07fc-4564-b56c-786c6db6de2b"), + GROUP, Role(UUID("d32611e3-07fc-4564-b56c-786c6db6de2b"), "ResourceEditor", PRIVILEGES)), create_role_failure, create_role_failure, create_role_failure, |