From cc19129730f86ad9ac57f4b8ed28c1dce8dff707 Mon Sep 17 00:00:00 2001 From: Ziad Date: Tue, 26 Dec 2023 13:11:45 +0200 Subject: [PATCH] adapt tests --- tests/test_main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 0065d06..72421e9 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -11,17 +11,17 @@ def test_main(): runner = CliRunner() result = runner.invoke(main, ["--help"]) assert result.exit_code == 0 - assert "-rp" in result.output - assert "-if" in result.output - assert "-cf" in result.output + assert "-r" in result.output + assert "-i" in result.output + assert "-c" in result.output result = runner.invoke(main) assert result.exit_code != 0 - assert "Error: Missing option '--input_file' / '-if'" in result.output + assert "Error: Missing option '--input_file' / '-i'" in result.output - result = runner.invoke(main, ["-if", "./tests/ci_inputs/deb_packages.in"]) + result = runner.invoke(main, ["-i", "./tests/ci_inputs/deb_packages.in"]) assert result.exit_code != 0 - assert "Error: Missing option '--storage_config_file' / '-cf'" in result.output + assert "Error: Missing option '--config_file' / '-c'" in result.output if __name__ == "__main__":