Пример #1
0
 def test_failed_result(self):
     assert_true(
         self.otter.get_results()[0] == {"Failed Test": "Failed Test"}, message="Expected True and got False."
     )
Пример #2
0
 def test_result_length(self):
     assert_true(len(self.otter.get_results()) == 1, message="Expected True and got False.")
Пример #3
0
 def test_fail_count(self):
     assert_true(self.otter.get_fail_count() == 1)
Пример #4
0
 def test_success_result(self):
     assert_true(
         self.otter.get_results()[0] == {"Success Test": "Success Test"},
         message="Expected True and got False."
     )
Пример #5
0
 def test_success_count(self):
     assert_true(self.otter.get_success_count() == 1)
Пример #6
0
 def test_case_two(self):
     assert_true(False, "I Failed.")
Пример #7
0
 def test_case_one(self):
     assert_true(True, "I Passed.")