Merge "Fix test_show_host_detail to support installation with ironic"
This commit is contained in:
commit
bbe27e9cb7
@ -68,7 +68,9 @@ class HostsAdminTestJSON(base.BaseV2ComputeAdminTest):
|
||||
"""Showing nova host details"""
|
||||
hosts = self.client.list_hosts()['hosts']
|
||||
|
||||
hosts = [host for host in hosts if host['service'] == 'compute']
|
||||
hosts = [host for host in hosts if (
|
||||
host['service'] == 'compute' and
|
||||
not host['host_name'].endswith('-ironic'))]
|
||||
self.assertNotEmpty(hosts)
|
||||
|
||||
for host in hosts:
|
||||
|
Loading…
Reference in New Issue
Block a user