From cb2eadcb2f331e295a938dc97e51466057ed7c4a Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 14:17:02 -0400 Subject: [PATCH] Test: Added due dates to timesheet tests, for coverage --- test/timesheet.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/timesheet.t b/test/timesheet.t index 693811b69..10ee5d726 100755 --- a/test/timesheet.t +++ b/test/timesheet.t @@ -59,14 +59,14 @@ class TestTimesheet(TestCase): fourteen = now - 14 * 86400 cls.t("add P0 entry:{0}".format(fourteen)) - cls.t("add PS0 entry:{0} start:{1}".format(fourteen, now)) + cls.t("add PS0 entry:{0} start:{1} due:{2}".format(fourteen, now, now)) cls.t("add PS1 entry:{0} start:{1}".format(fourteen, seven)) cls.t("add PS2 entry:{0} start:{0}".format(fourteen)) - cls.t("add D0 entry:{0} end:{1}".format(fourteen, now)) + cls.t("add D0 entry:{0} end:{1} due:{2}".format(fourteen, now, now)) cls.t("add D1 entry:{0} end:{1}".format(fourteen, seven)) cls.t("add D2 entry:{0} end:{0}".format(fourteen)) cls.t("/D[0-2]/ delete", input="all\n") - cls.t("log C0 entry:{0} end:{1}".format(fourteen, now)) + cls.t("log C0 entry:{0} end:{1} due:{2}".format(fourteen, now, now)) cls.t("log C1 entry:{0} end:{1}".format(fourteen, seven)) cls.t("log C2 entry:{0} end:{0}".format(fourteen))