def test_node_get_console(self):
        node_show = self.show_node(self.node['uuid'])
        node_get = self.ironic('node-get-console', params=self.node['uuid'])
        node_get = utils.get_dict_from_output(node_get)

        self.assertEqual(node_show['console_enabled'],
                         node_get['console_enabled'])
Test steps:
dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/functional/test_node.py/NodeSanityTestIronicClient.test_node_get_console