def test_get_nodeinfo_list_defaults(self):
    node_id_list = []
    for i in range(1, 6):
        node = utils.create_test_node(uuid=uuidutils.generate_uuid())
        node_id_list.append(node.id)
    res = [i[0] for i in self.dbapi.get_nodeinfo_list()]
    self.assertEqual(sorted(res), sorted(node_id_list))
def test_get_nodeinfo_list_defaults(self):
    node_id_list = []
    for i in range(1, 6):
        node = utils.create_test_node(uuid=uuidutils.generate_uuid())
        node_id_list.append(node.id)
    res = [i[0] for i in self.dbapi.get_nodeinfo_list()]
    self.assertEqual(sorted(res), sorted(node_id_list))