test_report.py (625B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 5 from marionette_harness import ( 6 expectedFailure, 7 MarionetteTestCase, 8 skip, 9 unexpectedSuccess, 10 ) 11 12 13 class TestReport(MarionetteTestCase): 14 def test_pass(self): 15 assert True 16 17 @skip("Skip Message") 18 def test_skip(self): 19 assert False 20 21 @expectedFailure 22 def test_error(self): 23 raise Exception() 24 25 @unexpectedSuccess 26 def test_unexpected_pass(self): 27 assert True