mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-05 07:56:14 +02:00
begin TDD of dot notated overrides
This commit is contained in:
parent
9676290c27
commit
80d2c609ba
4 changed files with 41 additions and 9 deletions
|
@ -211,7 +211,10 @@ def test_editor_override():
|
|||
assert cli_as_dict('--config-override \'{"editor": "nano"}\'') == expected_args(
|
||||
config_override={"editor": "nano"}
|
||||
)
|
||||
|
||||
def test_color_override():
|
||||
assert cli_as_dict('--config-override \'{"colors.body": "blue"}\'') == expected_args(
|
||||
config_override={"colors.body":"blue"}
|
||||
)
|
||||
|
||||
# @see https://github.com/jrnl-org/jrnl/issues/520
|
||||
@pytest.mark.parametrize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue