Replace the usage of 'admin_manager' with 'os_admin'

In tempest, alias 'admin_manager' has been moved to 'os_admin'
in version Pike, and it will be removed in version Queens [1].

[1] https://review.openstack.org/#/c/467852/

Change-Id: I9c8890b3e39648fdce01c8f3be9fdc51927dc37a
This commit is contained in:
Van Hung Pham 2017-06-26 10:32:20 +07:00
parent 11376f4657
commit cb19cc5adf

View File

@ -48,7 +48,7 @@ class TestCase(test.BaseTestCase):
cls.mgr.auth_provider = service_base.AuthProv() cls.mgr.auth_provider = service_base.AuthProv()
cls.admin_mgr = cls.alt_mgr = cls.mgr cls.admin_mgr = cls.alt_mgr = cls.mgr
else: else:
cls.admin_mgr = cls.admin_manager cls.admin_mgr = cls.os_admin
cls.mgr = cls.manager cls.mgr = cls.manager
cls.alt_mgr = cls.alt_manager cls.alt_mgr = cls.alt_manager