mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Addd calendar 'rc.calendar.offset' test
This commit is contained in:
parent
2d5c88994a
commit
0250145895
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@ class TestCalendarCommandLine(TestCase):
|
|||
code, out, err = self.t("calendar")
|
||||
self.assertIn("Su Mo Tu We Th Fr Sa", out)
|
||||
|
||||
def test_basic_command_offset(self):
|
||||
"""Verify 'calendar rc.calendar.offset:on rc.calendar.offset.value:1' does not fail"""
|
||||
code, out, err = self.t("calendar rc.calendar.offset:on rc.calendar.offset.value:1")
|
||||
self.assertIn("Su Mo Tu We Th Fr Sa", out)
|
||||
|
||||
def test_basic_command(self):
|
||||
"""Verify 'calendar rc.weekstart:Monday' does not fail'"""
|
||||
code, out, err = self.t("calendar rc.weekstart:Monday")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue