mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 19:03:07 +02:00
Test template now includes an example of expected failure
This commit is contained in:
parent
1302e69d51
commit
09bfc27260
1 changed files with 5 additions and 0 deletions
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue