Merge "Fix Hypervisors page"
This commit is contained in:
commit
2c7483c10d
@ -41,7 +41,7 @@ class HypervisorViewTest(test.BaseAdminViewTests):
|
||||
self.mox.ReplayAll()
|
||||
|
||||
res = self.client.get(reverse('horizon:admin:hypervisors:index'))
|
||||
self.assertTemplateUsed(res, 'horizon/common/_data_table_view.html')
|
||||
self.assertTemplateUsed(res, 'admin/hypervisors/index.html')
|
||||
|
||||
hypervisors_tab = res.context['tab_group'].get_tab('hypervisor')
|
||||
self.assertItemsEqual(hypervisors_tab._tables['hypervisors'].data,
|
||||
|
@ -27,7 +27,7 @@ from openstack_dashboard.dashboards.admin.hypervisors \
|
||||
|
||||
class AdminIndexView(tabs.TabbedTableView):
|
||||
tab_group_class = project_tabs.HypervisorHostTabs
|
||||
template_name = 'horizon/common/_data_table_view.html'
|
||||
template_name = 'admin/hypervisors/index.html'
|
||||
page_title = _("All Hypervisors")
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user