Skip to content

Commit

Permalink
Add log with multiple messages to test
Browse files Browse the repository at this point in the history
  • Loading branch information
HakonSohoel committed Nov 19, 2024
1 parent 5f9d1f6 commit 2d1390e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/ert/unit_tests/resources/test_ecl_run_new_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}
<various_output>
{_DUMMY_ERROR_MESSAGE_E100}
""",
[_DUMMY_ERROR_MESSAGE_E100, _DUMMY_SLAVE_STARTED_MESSAGE],
),
],
)
def test_can_parse_errors(prt_error, expected_error_list):
Expand Down

0 comments on commit 2d1390e

Please sign in to comment.