From ddc68e78eef2797d160fefde0a46766a1b4cf96d Mon Sep 17 00:00:00 2001 From: pedrooot Date: Mon, 3 Jun 2024 14:11:39 +0200 Subject: [PATCH] improve tests --- tests/cli/cli_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cli/cli_test.py b/tests/cli/cli_test.py index c4bbe426a9..4c9c72a325 100644 --- a/tests/cli/cli_test.py +++ b/tests/cli/cli_test.py @@ -58,4 +58,4 @@ class TestCLI: result = runner.invoke(app, ["aws", "list-checks-json"]) assert result.exit_code == 0 assert "aws" in result.output - assert result.output.endswith("}\n") + assert result.output.startswith("{") and result.output.endswith("}\n")