make format

This commit is contained in:
Suhas 2021-01-25 08:55:27 -05:00
parent 7a54e6f458
commit f1b260655d
3 changed files with 22 additions and 25 deletions

View file

@ -219,17 +219,19 @@ def test_color_override():
'--config-override \'{"colors.body": "blue"}\''
) == expected_args(config_override={"colors.body": "blue"})
def test_multiple_overrides():
def test_multiple_overrides():
assert cli_as_dict(
'--config-override \'{"colors.title": "green", "editor":"", "journal.scratchpad": "/tmp/scratchpad"}\''
) == expected_args(
config_override={
"colors.title": "green",
"journal.scratchpad": "/tmp/scratchpad",
"editor": ""
"editor": "",
}
)
# @see https://github.com/jrnl-org/jrnl/issues/520
@pytest.mark.parametrize(
"cli",