mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added calendar test wiht full details and color
This commit is contained in:
parent
0250145895
commit
acb83130fa
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@ class TestCalendarCommandLine(TestCase):
|
||||||
code, out, err = self.t("calendar rc.calendar.details:full rc.calendar.details.report:list")
|
code, out, err = self.t("calendar rc.calendar.details:full rc.calendar.details.report:list")
|
||||||
self.assertIn("task_with_due_date", out)
|
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):
|
def test_basic_command_holidays(self):
|
||||||
"""Verify 'calendar rc.calendar.holidays:full' does not fail"""
|
"""Verify 'calendar rc.calendar.holidays:full' does not fail"""
|
||||||
code, out, err = self.t("calendar rc.calendar.holidays:full")
|
code, out, err = self.t("calendar rc.calendar.holidays:full")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue