From b4a0ac7e718c36059af4bfe237d213c7cac11b1c Mon Sep 17 00:00:00 2001 From: Alexander Hungenberg Date: Thu, 3 Oct 2024 12:54:03 +0200 Subject: [PATCH] fixing tests --- tests/engine/test_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/engine/test_cli.py b/tests/engine/test_cli.py index 0e47f59..eb0ed78 100644 --- a/tests/engine/test_cli.py +++ b/tests/engine/test_cli.py @@ -100,7 +100,7 @@ def test_app_has_commands(command, cli_runner: CliRunner): assert result.exit_code == 0 stdout = result.stdout.strip() - assert stdout.startswith("Usage: "), stdout + assert stdout.find("Usage:") >= 0, stdout def test_app_should_create_template(