From acb83130fabddb7fa04e3787d42281d835224e9c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 Oct 2015 17:29:27 -0400 Subject: [PATCH] Test: Added calendar test wiht full details and color --- test/calendar.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/calendar.t b/test/calendar.t index 677bbb393..89902c684 100755 --- a/test/calendar.t +++ b/test/calendar.t @@ -66,6 +66,12 @@ class TestCalendarCommandLine(TestCase): code, out, err = self.t("calendar rc.calendar.details:full rc.calendar.details.report:list") self.assertIn("task_with_due_date", out) + def test_basic_command_details_color(self): + """Verify 'calendar rc.calendar.details:full rc.calendar.details.report:list rc._forcecolor:on' does not fail""" + self.t("add task_with_due_date due:tomorrow") + code, out, err = self.t("calendar rc.calendar.details:full rc.calendar.details.report:list rc._forcecolor:on") + self.assertIn("task_with_due_date", out) + def test_basic_command_holidays(self): """Verify 'calendar rc.calendar.holidays:full' does not fail""" code, out, err = self.t("calendar rc.calendar.holidays:full")