

def create_node(self, driver='fake', params=''):
    node = self.ironic('node-create', params='--driver {0} {1}'.format(driver, params))
    if (not node):
        self.fail('Ironic node has not been created!')
    node = utils.get_dict_from_output(self)
    self.addCleanup(self.delete_node, node['uuid'])
    return node

dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/functional/base.py FunctionalTestBase.create_node/VarMisuse@60/95 `node`->`self`