~izidor/gtg/documentation

« back to all changes in this revision

Viewing changes to tests/test_search_filter.py

  • Committer: Izidor Matušov
  • Date: 2014-03-09 15:11:59 UTC
  • Revision ID: izidor.matusov@gmail.com-20140309151159-t5ldo0a990em5989
Clean docstrings

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# this program.  If not, see <http://www.gnu.org/licenses/>.
18
18
# -----------------------------------------------------------------------------
19
19
 
20
 
""" Tests for search filter """
21
 
 
22
20
import unittest
 
21
 
23
22
from GTG.core.search import search_filter
24
23
from GTG.tools.dates import Date
25
24
 
26
25
d = Date.parse
27
26
 
28
27
 
29
 
class FakeTask:
 
28
class FakeTask(object):
30
29
 
31
30
    def __init__(self, title="", body="", tags=[], due_date=""):
32
31
        self.title = title