diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-07-15 20:58:19 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-07-15 20:58:19 +0000 |
| commit | d96cc9fc08caa51a2f7bdab47d0546fdbc00f495 (patch) | |
| tree | 18590ebfecd99df47bead8ba828f8ee10210632e /cinderclient/tests/functional | |
| parent | e2f2242d400decfd1f3294f077148b42e0e88c84 (diff) | |
| parent | 426055c48e3afcdb4aa5b68b7247a074e2f8ddf5 (diff) | |
| download | python-cinderclient-d96cc9fc08caa51a2f7bdab47d0546fdbc00f495.tar.gz | |
Merge "OS_TENANT_NAME is not required when we have OS_PROJECT_NAME"
Diffstat (limited to 'cinderclient/tests/functional')
| -rw-r--r-- | cinderclient/tests/functional/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cinderclient/tests/functional/base.py b/cinderclient/tests/functional/base.py index de8f665..8b291b6 100644 --- a/cinderclient/tests/functional/base.py +++ b/cinderclient/tests/functional/base.py @@ -34,7 +34,8 @@ def credentials(): username = os.environ.get('OS_USERNAME') password = os.environ.get('OS_PASSWORD') - tenant_name = os.environ.get('OS_TENANT_NAME') + tenant_name = (os.environ.get('OS_TENANT_NAME') + or os.environ.get('OS_PROJECT_NAME')) auth_url = os.environ.get('OS_AUTH_URL') config = six.moves.configparser.RawConfigParser() |
