diff options
author | David Kranz <dkranz@redhat.com> | 2015-03-11 11:51:07 -0400 |
---|---|---|
committer | David Kranz <dkranz@redhat.com> | 2015-03-11 11:51:07 -0400 |
commit | 8d557c7839b5c97f18bdaec980a4fcfbea7dfbee (patch) | |
tree | 9f438b56f2b2e122612858b2430575fc35e81382 /tempest/common/credentials.py | |
parent | 0a95854a8d78a7a84031824c75c4531874504cf3 (diff) | |
download | tempest-8d557c7839b5c97f18bdaec980a4fcfbea7dfbee.tar.gz |
Make is_admin_available not call for a token
It was only doing this when configured with no tenant isolation and
no accounts file.
Change-Id: I39e461cbb7df58923b26684438a4de52ddeb8187
Diffstat (limited to 'tempest/common/credentials.py')
-rw-r--r-- | tempest/common/credentials.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tempest/common/credentials.py b/tempest/common/credentials.py index 3794b660f..2f7fb7391 100644 --- a/tempest/common/credentials.py +++ b/tempest/common/credentials.py @@ -58,7 +58,8 @@ def is_admin_available(): is_admin = False else: try: - cred_provider.get_configured_credentials('identity_admin') + cred_provider.get_configured_credentials('identity_admin', + fill_in=False) except exceptions.InvalidConfiguration: is_admin = False return is_admin |