Esempio n. 1
0
    def set_up(self):
        self.otter = Otter([])
        self.test_object = test_class()
        self.otter.set_test_list(
            [self.test_object]

        )
        self.otter.log_success({"Success Test": "Success Test"})
Esempio n. 2
0
 def set_up(self):
     self.otter = Otter([])
     self.test_object = test_class()
     self.otter.set_test_list(
         [self.test_object]
     )
     self.otter.run()
     self.otter.append_test_unit_list({
                                      "class": "test_class_2",
                                      "module": "test.append_unit_test"
                                      })
 def set_up(self):
     self.otter = Otter([])
     self.test_object = test_class()
     self.otter.set_test_list(
         [self.test_object]
     )
     self.otter.get_test_list()[0].set_up()
     self.unit = self.otter.get_test_list()[0]
     self.case = {
         "func": test_class.test_case_two,
         "name": "test_case_two"
     }
     self.otter.execute_test(self.unit, self.case)
     self.result = self.otter.get_results()[0]
Esempio n. 4
0
 def set_up(self):
     self.otter = Otter([])
     self.test_object = test_class()
     self.otter.set_test_list([self.test_object])
     self.otter.log_fail({"Failed Test": "Failed Test"})