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