diff --git a/tests/test_config.py b/tests/test_config.py index a71825b672c5bf0664846230d08d827cfb86cfc7..f068a6048979ab6e54c6d6290525a199c80ff463 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -34,16 +34,6 @@ def test_get_section_falls_back_to_default(): assert section.get('output_path') != 'Template.output' assert section['signed_currencies'] == 'EUR' -@pytest.mark.parametrize('arg_s', [None, '-', 'output.ledger']) -def test_output_path(arg_s): - arglist = [] if arg_s is None else ['-O', arg_s] - config = config_from_file(os.devnull, arglist) - output_path = config.get_output_path() - if (arg_s is None) or (arg_s == '-'): - assert output_path is None - else: - assert output_path == pathlib.Path(arg_s) - def _fix_date_s(date_s, new_sep, old_sep='/'): return date_s.replace(old_sep, new_sep)