mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Finalize pytests
This commit is contained in:
parent
18c8f3d2d2
commit
f88eaf8f0d
1 changed files with 2 additions and 0 deletions
|
@ -153,12 +153,14 @@ def test_on_date_alone():
|
||||||
|
|
||||||
def test_month_alone():
|
def test_month_alone():
|
||||||
assert cli_as_dict("-month 1") == expected_args(month="1")
|
assert cli_as_dict("-month 1") == expected_args(month="1")
|
||||||
|
assert cli_as_dict("-month 01") == expected_args(month="01")
|
||||||
assert cli_as_dict("-month January") == expected_args(month="January")
|
assert cli_as_dict("-month January") == expected_args(month="January")
|
||||||
assert cli_as_dict("-month Jan") == expected_args(month="Jan")
|
assert cli_as_dict("-month Jan") == expected_args(month="Jan")
|
||||||
|
|
||||||
|
|
||||||
def test_day_alone():
|
def test_day_alone():
|
||||||
assert cli_as_dict("-day 1") == expected_args(day="1")
|
assert cli_as_dict("-day 1") == expected_args(day="1")
|
||||||
|
assert cli_as_dict("-day 01") == expected_args(day="01")
|
||||||
|
|
||||||
|
|
||||||
def test_year_alone():
|
def test_year_alone():
|
||||||
|
|
Loading…
Add table
Reference in a new issue