

def create_chassis(self, params=''):
    chassis = self.ironic('chassis-create', params=params)
    if (not chassis):
        self.fail('Ironic chassis has not been created!')
    chassis = utils.get_dict_from_output(chassis)
    chassis.addCleanup(self.delete_chassis, chassis['uuid'])
    return chassis

dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/functional/base.py FunctionalTestBase.create_chassis/VarMisuse@52/83 `self`->`chassis`