From b2fa368afa47f62bbbc50e7cd4a331efe550afec Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 30 Jan 2021 19:15:25 -0500 Subject: [PATCH] tests: Expect failure for another test with project:B) syntax It could be argued we should not support this syntax (i.e. the ')' character needs to be surrounded by a space. Note that the ability to contain ')' as part of the attribute value was explicitly requested (as a bug report) in TW-1455 (#1481). --- test/filter.t | 1 + 1 file changed, 1 insertion(+) diff --git a/test/filter.t b/test/filter.t index a197e8c1e..f5cb33844 100755 --- a/test/filter.t +++ b/test/filter.t @@ -1094,6 +1094,7 @@ class TestBug1915(TestCase): self.assertIn("thingB", out) self.assertNotIn("thingC", out) + @unittest.expectedFailure def test_complex_and_or_query_variant_eight(self): """1915: Make sure parser handles complex and-or queries correctly (8)""" code, out, err = self.t("rc.verbose:nothing status:pending and \\(project:A or project:B\\) all")