def before_all(self): target = create_target() self.targets = [target] action = Action(targets=self.targets, action_type='soft-reboot') self.actions = [action] self.job = Job(tenant_id='123', name='do_stuff', actions=self.actions, job_id='12345')
def before_all(self): target = create_target() self.targets = [target] action = Action(targets=self.targets, action_type='soft-reboot') self.actions = [action] self.job = Job( tenant_id='123', name='do_stuff', actions=self.actions, job_id='12345' )
def before_all(self): self.example_target = create_target() self.example_action = Action(targets=[self.example_target], action_type='soft-reboot')
def before_all(self): self.target = create_target() self.example_dict = example_target_dict()