Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Foster <[email protected]>
  • Loading branch information
fosterseth committed Aug 20, 2024
1 parent 77d27da commit 4431257
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions awx/main/tests/functional/dab_rbac/test_managed_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_org_child_add_permission(setup_managed_roles):


@pytest.mark.django_db
def test_controller_specific_roles(setup_managed_roles):
def test_controller_specific_roles_have_correct_permissions(setup_managed_roles):
'''
Controller specific roles should have the same permissions as the platform roles
e.g. Controller Team Admin should have same permission set as Team Admin
Expand All @@ -46,7 +46,7 @@ def test_controller_specific_roles(setup_managed_roles):
@pytest.mark.django_db
@pytest.mark.parametrize('resource_name', ['Team', 'Organization'])
@pytest.mark.parametrize('action', ['Member', 'Admin'])
def test_use_controller_specific_role_definitions(setup_managed_roles, resource_name, action, team, bob, organization):
def test_old_RBAC_uses_controller_specific_roles(setup_managed_roles, resource_name, action, team, bob, organization):
'''
Assignment to old RBAC roles should use controller specific role definitions
e.g. Controller Team Admin, Controller Team Member, Controller Organization Member, Controller Organization Admin
Expand Down

0 comments on commit 4431257

Please sign in to comment.