mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-10 09:16:12 +02:00
Merge branch 'develop' into change-time
This commit is contained in:
commit
1c65ba76df
14 changed files with 111 additions and 45 deletions
|
@ -96,6 +96,12 @@ def test_end_date_alone():
|
|||
assert expected == cli_as_dict("-to 2020-01-01")
|
||||
|
||||
|
||||
def test_not_empty():
|
||||
with pytest.raises(SystemExit) as wrapped_e:
|
||||
cli_as_dict("-not")
|
||||
assert wrapped_e.value.code == 2
|
||||
|
||||
|
||||
def test_not_alone():
|
||||
assert cli_as_dict("-not test") == expected_args(excluded=["test"])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue