def test_show_no_project(self):
        ctxt = context_maker.get_admin_context()
        s_ref = self._create_compute_service()

        result = self.controller.show(self.req, s_ref['host'])

        proj = ['(total)', '(used_now)', '(used_max)']
        column = ['host', 'project', 'cpu', 'memory_mb', 'disk_gb']
        self.assertEqual(len(result['host']), 3)
        for resource in result['host']:
            self.assertIn(resource['resource']['project'], proj)
            self.assertEqual(len(resource['resource']), 5)
            self.assertEqual(set(column), set(resource['resource'].keys()))
        db.service_destroy(ctxt, s_ref['id'])
:param listbox: the listbox the renderer will be used with (used for parenting)
dataset/ETHPy150Open openstack/nova/nova/tests/unit/api/openstack/compute/test_hosts.py/HostTestCaseV21.test_show_no_project--crossover with--dataset/ETHPy150Open Moguri/bgui/bgui/list_box.py/ListBoxRenderer.__init__