From 2d1390e8e4e42d28a2b48e9abd56e65f36cc2a4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20Steinkopf=20S=C3=B8hoel?= Date: Tue, 19 Nov 2024 08:24:18 +0100 Subject: [PATCH] Add log with multiple messages to test --- .../resources/test_ecl_run_new_config.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/ert/unit_tests/resources/test_ecl_run_new_config.py b/tests/ert/unit_tests/resources/test_ecl_run_new_config.py index 94abe4377a5..cf068d098d4 100644 --- a/tests/ert/unit_tests/resources/test_ecl_run_new_config.py +++ b/tests/ert/unit_tests/resources/test_ecl_run_new_config.py @@ -685,6 +685,20 @@ def test_slave_started_message_are_not_counted_as_errors(): _DUMMY_SLAVE_STARTED_MESSAGE, [_DUMMY_SLAVE_STARTED_MESSAGE], ), + ( + f"""\ + @--MESSAGE AT TIME 0.0 DAYS ( 1-JAN-2000): + @ THIS IS JUST A MESSAGE, NOTHING ELSE + @--MESSAGE AT TIME 0.0 DAYS ( 1-JAN-2000): + @ THIS IS JUST A MESSAGE, NOTHING ELSE +{_DUMMY_SLAVE_STARTED_MESSAGE} + + + +{_DUMMY_ERROR_MESSAGE_E100} + """, + [_DUMMY_ERROR_MESSAGE_E100, _DUMMY_SLAVE_STARTED_MESSAGE], + ), ], ) def test_can_parse_errors(prt_error, expected_error_list):