From d15ee60ca7ad62004c5e036203f095cc27660f90 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Sun, 10 Apr 2022 22:21:41 +0200 Subject: Introduce a new macro (%p) representing the parent value of a given key --- tests/test_cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/test_cli.py') diff --git a/tests/test_cli.py b/tests/test_cli.py index 884e676..684c2e7 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -89,9 +89,7 @@ def test_list(capsys, config_file): main(['-c', f'{config_file}', '-l']) assert exit_info.type == SystemExit assert exit_info.value.code == 0 - assert capsys.readouterr().out.strip() == ( - f'default{os.linesep}dev{os.linesep}secret' - ) + assert capsys.readouterr().out.strip() == f'dev{os.linesep}secret' def test_help(capsys): -- cgit v1.3