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