~nmu-sscheel/gtg/rework-task-editor

« back to all changes in this revision

Viewing changes to GTG/tests/test_search_filter.py

  • Committer: Bertrand Rousseau
  • Date: 2012-05-09 22:33:25 UTC
  • mfrom: (1178 trunk)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: bertrand.rousseau@gmail.com-20120509223325-a53d8nwo0x9g93bc
Merge nimit branch and trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
    def test_double_tag(self):
60
60
        p = {"q": [("tag", True, "@a"), ("tag", True, "@b")]}
61
 
        task = FakeTask(tags = ['@a'])
62
61
 
63
62
        self.assertTrue(search_filter(FakeTask(tags = ['@a', '@b']), p))
64
63
        self.assertTrue(search_filter(FakeTask(tags = ['@b', '@a']), p))