update identity role tests to work w/ pre-prov
I don't see any limitations by using pre-provisioned credentials for these tests: * test_role_create_update_show_list * test_list_roles * test_implied_roles_create_check_show_delete * test_roles_hierarchy * test_assignments_for_implied_roles_create_delete * test_domain_roles_create_delete * test_implied_domain_roles * test_assignments_for_domain_roles * test_list_all_implied_roles * test_grant_list_revoke_role_to_user_on_project * test_grant_list_revoke_role_to_user_on_domain * test_grant_list_revoke_role_to_group_on_project * test_grant_list_revoke_role_to_group_on_domain By setting force_tenant_isolation=False these tests now be can executed with backends that don't allow user creation (immutable user source) like LDAP. Partial-Bug: #1714277 Change-Id: Id82f3b6187e878abe04a0aea9e7dbb9e8fb6360e
This commit is contained in:
parent
3c5b61396d
commit
7ea7e0a14e
|
@ -25,6 +25,10 @@ CONF = config.CONF
|
|||
|
||||
|
||||
class RolesV3TestJSON(base.BaseIdentityV3AdminTest):
|
||||
# NOTE: force_tenant_isolation is true in the base class by default but
|
||||
# overridden to false here to allow test execution for clouds using the
|
||||
# pre-provisioned credentials provider.
|
||||
force_tenant_isolation = False
|
||||
|
||||
@classmethod
|
||||
def resource_setup(cls):
|
||||
|
|
Loading…
Reference in New Issue