From 6c077671e9afdb4921e72d0a3018e3d8dedada8b Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 12 Dec 2022 13:26:28 +0300 Subject: auth: Attach group to GroupRole, rather than group_id --- tests/unit/auth/test_groups.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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, -- cgit v1.2.3