From 772c20aa4d282d22c46ee1c2b16c27a6d1c8abed Mon Sep 17 00:00:00 2001 From: Dave Dalcino Date: Sun, 27 Aug 2023 15:14:02 -0700 Subject: [PATCH] Remove duplicated test --- tests/test_cli.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index acaf4c0..6a84fa0 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -383,15 +383,6 @@ def test_cli_unexpected_error(monkeypatch, capsys): ) -def test_cli_set_7zip_nonexistent(monkeypatch): - cli = Cli() - cli._setup_settings() - with pytest.raises(CliInputError) as err: - cli._set_sevenzip("some_nonexistent_binary") - assert err.type == CliInputError - assert format(err.value) == "Specified 7zip command executable does not exist: 'some_nonexistent_binary'" - - @pytest.mark.parametrize("external_tool_exists", (True, False)) def test_set_7zip_checks_external_tool_when_specified(monkeypatch, capsys, external_tool_exists: bool): cli = Cli()