Created
May 15, 2018 02:07
-
-
Save bbayles/5158750b48a5accfceaa53a898b8b902 to your computer and use it in GitHub Desktop.
Demonstrate test skipping
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
class SampleTest(unittest.TestCase): | |
def test_skipTest(self): | |
self.skipTest('lowecase') | |
def test_SkipTest(self): | |
raise unittest.SkipTest('UpperCase') | |
if __name__ == '__main__': | |
unittest.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment