예제 #1
0
 def test_something_else(self):
     self.assertEqual(format_to_do("a\n- {{[[ZZZ]]}}string"), "a\n- {{[[ZZZ]]}}string")
예제 #2
0
 def test_done(self):
     self.assertEqual(format_to_do("a\n- {{[[DONE]]}}string"), "a\n- [x] string")
예제 #3
0
 def test_no_link(self):
     self.assertEqual(format_to_do("string"), "string")
예제 #4
0
 def test_to_do(self):
     self.assertEqual(format_to_do("a\n- {{[[TODO]]}}string"), "a\n- [ ] string")
예제 #5
0
 def test_empty(self):
     self.assertEqual(format_to_do(""), "")