Skip to content

Commit

Permalink
Update tests/management/group/test_view.py
Browse files Browse the repository at this point in the history
Co-authored-by: Petra Cihalova <[email protected]>
  • Loading branch information
MikelAlejoBR and petracihalova authored Mar 15, 2024
1 parent 4079dea commit 3c10703
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/management/group/test_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -3935,8 +3935,7 @@ def test_add_service_account_principal_in_group_with_User_Access_Admin_fail(self
group_with_UA_admin.principals.add(self.user_based_principal, self.service_account_principal)

# Create a group with 'User Access administrator' role and a principal
test_group = Group(name="test group", tenant=self.tenant)
test_group.save()
test_group = Group.objects.create(name="test group", tenant=self.tenant)

user_access_admin_role = group_with_UA_admin.roles()[0]
request_body = {"roles": [user_access_admin_role.uuid]}
Expand Down

0 comments on commit 3c10703

Please sign in to comment.