Test: Added edit test of a fully-loaded task
This commit is contained in:
@@ -74,6 +74,15 @@ class TestTaskEdit(TestCase):
|
||||
code, out, err = self.t()
|
||||
self.assertIn("Lost", out)
|
||||
|
||||
def test_fully_loaded_task_edit(self):
|
||||
"""task edit - exercise all attributes possible"""
|
||||
|
||||
self.t("add foo project:P +tag priority:H active:now due:eom wait:eom scheduled:eom recur:P1M until:eoy")
|
||||
self.t("1 annotate bar", input="n\n")
|
||||
|
||||
# Does not fail
|
||||
self.t("1 edit")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
from simpletap import TAPTestRunner
|
||||
|
||||
Reference in New Issue
Block a user