Test template now includes an example of expected failure

This commit is contained in:
Renato Alves 2015-05-25 18:28:46 +01:00
parent 1302e69d51
commit 09bfc27260

View file

@ -87,6 +87,11 @@ class TestBugNumber(TestCase):
def test_skipped(self):
"""Test all logic of the world"""
@unittest.expectedFailure
def test_expected_failure(self):
"""Test something that fails and we know or expect that"""
self.assertEqual(1, 0)
def tearDown(self):
"""Executed after each test in the class"""