From 09bfc272607fe2e41ec5341289be930db96b421d Mon Sep 17 00:00:00 2001 From: Renato Alves Date: Mon, 25 May 2015 18:28:46 +0100 Subject: [PATCH] Test template now includes an example of expected failure --- test/template.t | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/template.t b/test/template.t index 2259d4c83..35bede037 100644 --- a/test/template.t +++ b/test/template.t @@ -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"""