Replace the usage of some aliases in tempest

In tempest, following aliases have been moved in version Pike
and will be removed in version Queens:ad
* manager > os_primary [1]
* admin_manager > os_admin [2]
* os_adm > os_admin [3]
* os > os_primary [4]
* alt_manager > os_alt [5]

[1] https://review.openstack.org/#/c/468036/
[2] https://review.openstack.org/#/c/467852/
[3] https://review.openstack.org/#/c/467605/
[4] https://review.openstack.org/#/c/466991/
[5] https://review.openstack.org/#/c/457555/

Change-Id: Ieaa43b6351e20ca4084f496770e9623fea46c5b3
This commit is contained in:
Vu Cong Tuan 2017-10-11 13:06:32 +07:00
parent 8a5e5caa44
commit f72c3be90e
1 changed files with 2 additions and 2 deletions

View File

@ -53,8 +53,8 @@ class BaseArtifactTest(base.BaseTestCase):
if not hasattr(cls, "os"):
creds = cls.get_configured_isolated_creds(
type_of_creds='primary')
cls.os = clients.Manager(credentials=creds)
cls.artifacts_client = cls.os.artifacts_client
cls.os_primary = clients.Manager(credentials=creds)
cls.artifacts_client = cls.os_primary.artifacts_client
@classmethod
def get_configured_isolated_creds(cls, type_of_creds='admin'):