Example #1
0
 def test_active5(self):
     todo = Todo("(C) Foo t:2014-02-29")
     self.assertTrue(todo.is_active())
Example #2
0
 def test_active3(self):
     todo = Todo("x 2014-06-09 Foo t:2014-01-01")
     self.assertFalse(todo.is_active())
Example #3
0
 def test_active4(self):
     todo = Todo("(C) Foo t:" + today_date())
     self.assertTrue(todo.is_active())
Example #4
0
 def test_active1(self):
     todo = Todo("(C) Foo due:2014-01-01")
     self.assertTrue(todo.is_active())
Example #5
0
 def test_active2(self):
     todo = Todo("(C) Foo t:" + tomorrow_date())
     self.assertFalse(todo.is_active())
Example #6
0
 def test_active5(self):
     todo = Todo("(C) Foo t:2014-02-29")
     self.assertTrue(todo.is_active())
Example #7
0
 def test_active4(self):
     todo = Todo("(C) Foo t:" + today_date())
     self.assertTrue(todo.is_active())
Example #8
0
 def test_active3(self):
     todo = Todo("x 2014-06-09 Foo t:2014-01-01")
     self.assertFalse(todo.is_active())
Example #9
0
 def test_active2(self):
     todo = Todo("(C) Foo t:" + tomorrow_date())
     self.assertFalse(todo.is_active())
Example #10
0
 def test_active1(self):
     todo = Todo("(C) Foo due:2014-01-01")
     self.assertTrue(todo.is_active())