Test: Added UDA orphan to edit test

This commit is contained in:
Paul Beckingham 2015-10-28 18:17:59 -04:00
parent 512dcf5d48
commit e76f63aa01

View file

@ -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")