mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added UDA orphan to edit test
This commit is contained in:
parent
512dcf5d48
commit
e76f63aa01
1 changed files with 7 additions and 1 deletions
|
@ -84,10 +84,16 @@ class TestTaskEdit(TestCase):
|
|||
self.t.config("uda.ustring.label", "ustring")
|
||||
self.t.config("uda.unumeric.type", "numeric")
|
||||
self.t.config("uda.unumeric.label", "unumeric")
|
||||
self.t.config("uda.uorphan.type", "string")
|
||||
self.t.config("uda.uorphan.label", "uorphan")
|
||||
|
||||
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("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 uorphan:Annie")
|
||||
self.t("1 annotate bar", input="n\n")
|
||||
|
||||
# Make the orphan.
|
||||
self.t.del_config("uda.uorphan.type")
|
||||
self.t.del_config("uda.uorphan.label")
|
||||
|
||||
# Does not fail
|
||||
self.t("1 edit")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue