tests: Add test for TW #2388

This commit is contained in:
Tomas Babej 2021-09-25 19:19:38 -04:00
parent 983b971a11
commit 37f26be3ad

View file

@ -96,6 +96,11 @@ class TestProjects(TestCase):
self.assertRegex(err, self.STATUS.format("foo bar", "0%", self.assertRegex(err, self.STATUS.format("foo bar", "0%",
"1 task")) "1 task"))
# Ensure filtering for project with spaces works
code, out, err = self.t('pro:"foo bar" count')
self.assertEqual(out.strip(), '1')
def add_tasks(self): def add_tasks(self):
self.t("add testing project:existingParent") self.t("add testing project:existingParent")
self.t("add testing project:existingParent.child") self.t("add testing project:existingParent.child")