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]I5f7164f7a7ec5d4380ca22885000caa0183a0bf7

Change-Id: Ic29cb510a558ceee832fbfae7853106decffbb41
Closes-bug: 1697588
This commit is contained in:
Luong Anh Tuan 2017-09-25 14:58:10 +07:00
parent adffb3b124
commit 7571be01d1

View File

@ -95,7 +95,7 @@ class InspectorScenarioTest(BaremetalScenarioTest):
self.baremetal_client.set_node_provision_state(self, uuid, state)
def hypervisor_stats(self):
return (self.admin_manager.hypervisor_client.
return (self.os_admin.hypervisor_client.
show_hypervisor_statistics())
def server_show(self, uuid):