mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Test: Added calendar tests for 'january', 'jan'.
This commit is contained in:
parent
5a0a28e39b
commit
2d5c88994a
1 changed files with 8 additions and 0 deletions
|
@ -148,6 +148,14 @@ class TestCalendarCommandLine(TestCase):
|
|||
code, out, err = self.t.runError("calendar due donkey")
|
||||
self.assertIn("Could not recognize argument", err)
|
||||
|
||||
def test_january_argument(self):
|
||||
"""Verify 'calendar january' does not fail"""
|
||||
code, out, err = self.t("calendar january")
|
||||
|
||||
def test_jan_argument(self):
|
||||
"""Verify 'calendar jan' does not fail"""
|
||||
code, out, err = self.t("calendar jan")
|
||||
|
||||
def test_2015_argument(self):
|
||||
"""Verify 'calendar 2015 donkey' does fail"""
|
||||
code, out, err = self.t.runError("calendar 2015 donkey")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue