mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added edit test of a fully-loaded task
This commit is contained in:
parent
9541a63321
commit
1506ae9ff1
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue