mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added UDAs to edit test
This commit is contained in:
parent
cf329ab3f5
commit
512dcf5d48
1 changed files with 9 additions and 1 deletions
10
test/edit.t
10
test/edit.t
|
@ -76,8 +76,16 @@ class TestTaskEdit(TestCase):
|
|||
|
||||
def test_fully_loaded_task_edit(self):
|
||||
"""task edit - exercise all attributes possible"""
|
||||
self.t.config("uda.udate.type", "date")
|
||||
self.t.config("uda.udate.label", "udate")
|
||||
self.t.config("uda.uduration.type", "duration")
|
||||
self.t.config("uda.uduration.label", "uduration")
|
||||
self.t.config("uda.ustring.type", "string")
|
||||
self.t.config("uda.ustring.label", "ustring")
|
||||
self.t.config("uda.unumeric.type", "numeric")
|
||||
self.t.config("uda.unumeric.label", "unumeric")
|
||||
|
||||
self.t("add foo project:P +tag priority:H start:now due:eom wait:eom scheduled:eom recur:P1M until:eoy")
|
||||
self.t("add foo project:P +tag priority:H start:now due:eom wait:eom scheduled:eom recur:P1M until:eoy udate:now uduration:1day ustring:Hi unumeric:42")
|
||||
self.t("1 annotate bar", input="n\n")
|
||||
|
||||
# Does not fail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue