Tests: bug.489 merged with filter.t

This commit is contained in:
Renato Alves
2015-06-24 18:09:02 +01:00
parent 8d8f2f1d95
commit 4164c8184b
2 changed files with 15 additions and 56 deletions

View File

@@ -533,6 +533,21 @@ class TestBug485(TestCase):
self.assertIn("two", out)
class TestBug489(TestCase):
@classmethod
def setUp(cls):
cls.t = Task()
def test_filter_tagless_tasks(self):
"""tags.none: filters tagless tasks"""
self.t(("add", "with", "+tag"))
self.t(("add", "without"))
code, out, err = self.t(("list", "tags.none:"))
self.assertNotIn("with ", out)
self.assertIn("without", out)
@unittest.skip("WaitingFor TW-1600")
class TestBug1600(TestCase):
def setUp(self):