Fix credentials_factory method call

The method has changed from get_configured_credentials to
get_configured_admin_credentials.

This is one of the parts imported directly from tempest
(not tempest.lib) so there is no "care" in keeping it stable.

Change-Id: I0072157d0cf9ab87a5b939868ae4a1d0bbec294b
This commit is contained in:
Rodrigo Duarte 2016-05-31 10:11:27 -03:00
parent c90c525aac
commit b4bfc541b0

View File

@ -30,7 +30,7 @@ class BaseIdentityTest(test.BaseTestCase):
@classmethod
def setup_clients(cls):
super(BaseIdentityTest, cls).setup_clients()
credentials = common_creds.get_configured_credentials(
credentials = common_creds.get_configured_admin_credentials(
cls.credential_type, identity_version=cls.identity_version)
cls.keystone_manager = clients.Manager(credentials=credentials)
cls.idps_client = cls.keystone_manager.identity_providers_client