mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-27 21:16:14 +02:00
Update dependencies - pyxdg, pytest, black (#1076)
* Update version pin on pyxdg and run poetry update * Update pytest pin and rerun poetry update * Update black pin to latest version, poetry update, and make format
This commit is contained in:
parent
7a465eabeb
commit
c38c39efee
10 changed files with 435 additions and 319 deletions
|
@ -94,7 +94,11 @@ def test_not_multiple_alone():
|
|||
|
||||
@pytest.mark.parametrize(
|
||||
"cli",
|
||||
["two -not one -not three", "-not one two -not three", "-not one -not three two",],
|
||||
[
|
||||
"two -not one -not three",
|
||||
"-not one two -not three",
|
||||
"-not one -not three two",
|
||||
],
|
||||
)
|
||||
def test_not_mixed(cli):
|
||||
result = expected_args(excluded=["one", "three"], text=["two"])
|
||||
|
|
|
@ -10,10 +10,13 @@ def test_default_hour_is_added():
|
|||
|
||||
|
||||
def test_default_minute_is_added():
|
||||
assert time.parse(
|
||||
"2020-06-20",
|
||||
inclusive=False,
|
||||
default_hour=0,
|
||||
default_minute=30,
|
||||
bracketed=False,
|
||||
) == datetime.datetime(2020, 6, 20, 0, 30)
|
||||
assert (
|
||||
time.parse(
|
||||
"2020-06-20",
|
||||
inclusive=False,
|
||||
default_hour=0,
|
||||
default_minute=30,
|
||||
bracketed=False,
|
||||
)
|
||||
== datetime.datetime(2020, 6, 20, 0, 30)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue