Skip to content

Commit 2d1390e

Browse files
committed
Add log with multiple messages to test
1 parent 5f9d1f6 commit 2d1390e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tests/ert/unit_tests/resources/test_ecl_run_new_config.py

+14
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,20 @@ def test_slave_started_message_are_not_counted_as_errors():
685685
_DUMMY_SLAVE_STARTED_MESSAGE,
686686
[_DUMMY_SLAVE_STARTED_MESSAGE],
687687
),
688+
(
689+
f"""\
690+
@--MESSAGE AT TIME 0.0 DAYS ( 1-JAN-2000):
691+
@ THIS IS JUST A MESSAGE, NOTHING ELSE
692+
@--MESSAGE AT TIME 0.0 DAYS ( 1-JAN-2000):
693+
@ THIS IS JUST A MESSAGE, NOTHING ELSE
694+
{_DUMMY_SLAVE_STARTED_MESSAGE}
695+
696+
<various_output>
697+
698+
{_DUMMY_ERROR_MESSAGE_E100}
699+
""",
700+
[_DUMMY_ERROR_MESSAGE_E100, _DUMMY_SLAVE_STARTED_MESSAGE],
701+
),
688702
],
689703
)
690704
def test_can_parse_errors(prt_error, expected_error_list):

0 commit comments

Comments
 (0)