Remove deprecation warning from tests

manager and alt_manager are marked for removal in Queens[1]
This commit replaces them with os_primary and os_alt.

[1] https://github.com/openstack/tempest/blob/master/tempest/test.py#L369-#L385

Change-Id: Icd3e9e3a52369fa159898346057c8322c63ef993
This commit is contained in:
Michal Gershenzon 2017-07-31 15:33:44 +00:00
parent d30ff30efa
commit 192bd4d4dc
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@ class TestCase(test.BaseTestCase):
cls.admin_mgr = cls.alt_mgr = cls.mgr
else:
cls.admin_mgr = cls.os_admin
cls.mgr = cls.manager
cls.alt_mgr = cls.alt_manager
cls.mgr = cls.os_primary
cls.alt_mgr = cls.os_alt
if cls._service == 'workflowv2':
cls.admin_client = mistral_client.MistralClientV2(