diff --git a/test/unit/data/model/db/test_security.py b/test/unit/data/model/db/test_security.py index f86f77a3507b..1c9e2e8903b3 100644 --- a/test/unit/data/model/db/test_security.py +++ b/test/unit/data/model/db/test_security.py @@ -98,7 +98,7 @@ def test_add_associations_to_new_group(self, session, make_user_and_role, make_r group = Group() session.add(group) assert group.id is None # group does not exist in database - users = [make_user_and_role()[0] for _ in range(5)] + users = [make_user_and_role()[0] for _ in range(5)] # type: ignore[unreachable] roles = [make_role() for _ in range(5)] # users and roles for creating associations @@ -363,7 +363,7 @@ def test_add_associations_to_new_user(self, session, make_role, make_group): session.add(user) assert user.id is None # user does not exist in database - groups = [make_group() for _ in range(5)] + groups = [make_group() for _ in range(5)] # type: ignore[unreachable] roles = [make_role() for _ in range(5)] # groups and roles for creating associations @@ -623,7 +623,7 @@ def test_add_associations_to_new_role(self, session, make_user_and_role, make_gr role = Role() session.add(role) assert role.id is None # role does not exist in database - users = [make_user_and_role()[0] for _ in range(5)] + users = [make_user_and_role()[0] for _ in range(5)] # type: ignore[unreachable] groups = [make_group() for _ in range(5)] # users and groups for creating associations