mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-14 02:16:12 +02:00
Fix missing parentheses and remove skip_win on test that is passing in Windows now
This commit is contained in:
parent
3c4dc79e8a
commit
00e25f30fd
3 changed files with 3 additions and 4 deletions
|
@ -67,7 +67,7 @@ def test_on_posix(systems):
|
|||
)
|
||||
def test_split_args_on_windows(args):
|
||||
input_arguments, expected_split_args = args[0], args[1]
|
||||
with mock.patch("jrnl.os_compat.on_windows", True):
|
||||
with mock.patch("jrnl.os_compat.on_windows", lambda: True):
|
||||
assert split_args(input_arguments) == expected_split_args
|
||||
|
||||
|
||||
|
@ -83,5 +83,5 @@ def test_split_args_on_windows(args):
|
|||
)
|
||||
def test_split_args_on_not_windows(args):
|
||||
input_arguments, expected_split_args = args[0], args[1]
|
||||
with mock.patch("jrnl.os_compat.on_windows", True):
|
||||
with mock.patch("jrnl.os_compat.on_windows", lambda: True):
|
||||
assert split_args(input_arguments) == expected_split_args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue