From 7571be01d1928490bb47a02a916c7ad8f45156f5 Mon Sep 17 00:00:00 2001 From: Luong Anh Tuan Date: Mon, 25 Sep 2017 14:58:10 +0700 Subject: [PATCH] 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 --- ironic_inspector/test/inspector_tempest_plugin/tests/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironic_inspector/test/inspector_tempest_plugin/tests/manager.py b/ironic_inspector/test/inspector_tempest_plugin/tests/manager.py index 343ac9fef..1a451ecea 100644 --- a/ironic_inspector/test/inspector_tempest_plugin/tests/manager.py +++ b/ironic_inspector/test/inspector_tempest_plugin/tests/manager.py @@ -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):