From 4663ca840f2c8501da09339bc6e4c1b04a5cf3e2 Mon Sep 17 00:00:00 2001 From: Max Rossmannek Date: Sat, 28 Nov 2020 14:41:28 +0100 Subject: [PATCH] Mark failing tests as expected failures Related issues: - TW-1630 (#1654) needs to be re-opened! - TW-1915 (#1928) --- test/filter.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/filter.t b/test/filter.t index 303cfc05c..778a13ac3 100755 --- a/test/filter.t +++ b/test/filter.t @@ -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")