Update v3 project tests to work w/ pre-prov

I don't see any limitations by using pre-provisioned
credentials for these tests:

* test_project_create_with_domain
* test_project_create_with_parent
* test_create_is_domain_project
* test_project_get_equals_list
* test_project_create_with_description
* test_associate_user_to_project
* test_project_create_enabled
* test_project_create_not_enabled
* test_project_update_name
* test_project_update_desc
* test_project_update_enable

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.

Change-Id: Ifc9f23d150992cdcf415293439c2f51f3d75aeb3
This commit is contained in:
Trevor McCasland 2019-01-17 10:37:24 -06:00 committed by Nicolas Helgeson
parent 48ee0fec72
commit 5639a970c1
1 changed files with 4 additions and 0 deletions

View File

@ -23,6 +23,10 @@ CONF = config.CONF
class ProjectsTestJSON(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
@decorators.idempotent_id('0ecf465c-0dc4-4532-ab53-91ffeb74d12d')
def test_project_create_with_description(self):