Beispiel #1
0
        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')
Beispiel #2
0
        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'
            )
Beispiel #3
0
 def before_all(self):
     self.example_target = create_target()
     self.example_action = Action(targets=[self.example_target],
                                  action_type='soft-reboot')
Beispiel #4
0
 def before_all(self):
     self.example_target = create_target()
     self.example_action = Action(targets=[self.example_target],
                                  action_type='soft-reboot')
Beispiel #5
0
 def before_all(self):
     self.target = create_target()
     self.example_dict = example_target_dict()