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).
This commit is contained in:
@@ -1094,6 +1094,7 @@ class TestBug1915(TestCase):
|
|||||||
self.assertIn("thingB", out)
|
self.assertIn("thingB", out)
|
||||||
self.assertNotIn("thingC", out)
|
self.assertNotIn("thingC", out)
|
||||||
|
|
||||||
|
@unittest.expectedFailure
|
||||||
def test_complex_and_or_query_variant_eight(self):
|
def test_complex_and_or_query_variant_eight(self):
|
||||||
"""1915: Make sure parser handles complex and-or queries correctly (8)"""
|
"""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")
|
code, out, err = self.t("rc.verbose:nothing status:pending and \\(project:A or project:B\\) all")
|
||||||
|
|||||||
Reference in New Issue
Block a user