From 1d8e512d76dc9add0fb786b7d40f0e64412ddb09 Mon Sep 17 00:00:00 2001 From: Callum Forrester Date: Wed, 10 Jul 2024 13:52:16 +0100 Subject: [PATCH] Fix tests --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 607439706..6b65aab50 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -274,7 +274,7 @@ def test_reset_env_client_behavior( # assert "Environment is initialized." in result.output assert ( reload_result.output - == "Reloading environment\nEnvironment is initialized.\ninitialized=True error_message=None\n" # noqa: E501 + == "Reloading environment\nEnvironment is initialized\ninitialized=True error_message=None\n" # noqa: E501 ) @@ -324,7 +324,7 @@ def test_env_endpoint_interaction( # Check other assertions as needed, e.g., output or exit codes assert result.exit_code == 0 - assert "Environment is initialized." in result.output + assert "Environment is initialized" in result.output @pytest.mark.handler