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 6a1ca0fed8
commit 6f92b6fb13

View File

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