Add password config option

In newer tempest versions, password is located under identity
and not auth.

Change-Id: Ifc8f1cdd9125c91696e425cfef4cb80705a211f0
This commit is contained in:
abregman 2018-12-12 00:07:20 +02:00
parent 194b5eb0b2
commit d736ed8ae8
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ def get_default_credentials(api_version=None, username=None, password=None,
'environ.OS_PASSWORD',
'tobiko.identity.password',
'tempest.auth.password',
'tempest.auth.admin_password'))
'tempest.auth.admin_password',
'tempest.identity.admin_password'))
project_name = (project_name or
config.get_any_option(
'environ.OS_PROJECT_NAME',