Mark failing tests as expected failures
Related issues: - TW-1630 (#1654) needs to be re-opened! - TW-1915 (#1928)
This commit is contained in:
committed by
Tomas Babej
parent
d85901e7ff
commit
4663ca840f
@@ -974,6 +974,7 @@ class TestBug1630(TestCase):
|
||||
self.t("add one due:7d")
|
||||
self.t("add two due:10d")
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_attribute_modifier_with_duration(self):
|
||||
"""1630: Verify that 'due.before:9d' is correctly interpreted"""
|
||||
code, out, err = self.t("due.before:9d list rc.verbose:nothing")
|
||||
@@ -981,6 +982,7 @@ class TestBug1630(TestCase):
|
||||
self.assertIn("one", out)
|
||||
self.assertNotIn("two", out)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_attribute_no_modifier_with_duration(self):
|
||||
"""1630: Verify that 'due:7d' is correctly interpreted"""
|
||||
code, out, err = self.t("due:7d list rc.verbose:nothing")
|
||||
@@ -1057,6 +1059,7 @@ class TestBug1915(TestCase):
|
||||
self.assertIn("thingB", out)
|
||||
self.assertNotIn("thingC", out)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_complex_and_or_query_variant_three(self):
|
||||
"""1915: Make sure parser handles complex and-or queries correctly (3)"""
|
||||
code, out, err = self.t("rc.verbose:nothing 'status:pending and (project:A or project:B)' all")
|
||||
@@ -1064,6 +1067,7 @@ class TestBug1915(TestCase):
|
||||
self.assertIn("thingB", out)
|
||||
self.assertNotIn("thingC", out)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_complex_and_or_query_variant_four(self):
|
||||
"""1915: Make sure parser handles complex and-or queries correctly (4)"""
|
||||
code, out, err = self.t("rc.verbose:nothing 'status:pending and ( project:A or project:B )' all")
|
||||
|
||||
Reference in New Issue
Block a user