From 9a406e52d3db51829bb79c9fb3fad9f6a924b562 Mon Sep 17 00:00:00 2001 From: Valentin Krasontovitsch Date: Fri, 24 Feb 2023 15:13:37 +0100 Subject: [PATCH] Fix test --- tests/unit_tests/cli/test_integration_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit_tests/cli/test_integration_cli.py b/tests/unit_tests/cli/test_integration_cli.py index b9e232dd95d..4576e99830b 100644 --- a/tests/unit_tests/cli/test_integration_cli.py +++ b/tests/unit_tests/cli/test_integration_cli.py @@ -522,8 +522,8 @@ def test_unopenable_observation_config_fails_gracefully(copy_case): run_ert_test_run(config_file_name) except RuntimeError as err: assert ( - f"Failed to open observation config file {observation_config_abs_path!r}" - in str(err) + "Do not have permission to open observation config file " + f"{observation_config_abs_path!r}" in str(err) )