From e76f63aa0105be128ae0207ba06ba25518f7dab8 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 18:17:59 -0400 Subject: [PATCH] Test: Added UDA orphan to edit test --- test/edit.t | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/edit.t b/test/edit.t index de4c6135b..4da09a6e7 100755 --- a/test/edit.t +++ b/test/edit.t @@ -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")