Skip to content

Commit

Permalink
Fix test regex
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Oct 26, 2023
1 parent 4d20069 commit 59e48f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit_tests/config/test_ert_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,8 @@ def test_default_ens_path(tmpdir):
"max_running_value, expected_error",
[
(100, None), # positive integer
(-1, "QUEUE_OPTION MAX_RUNNING is negative"), # negative integer
("not_an_integer", "QUEUE_OPTION MAX_RUNNING is not an integer"), # non-integer
(-1, "not valid positive integer"), # negative integer
("not_an_integer", "not valid positive integer"), # non-integer
],
)
def test_queue_config_max_running_invalid_values(max_running_value, expected_error):
Expand Down Expand Up @@ -748,7 +748,7 @@ def test_that_queue_config_dict_negative_value_invalid(
)
with pytest.raises(
expected_exception=ConfigValidationError,
match="QUEUE_OPTION MAX_RUNNING is negative",
match="not valid positive integer",
):
ErtConfig.from_dict(config_dict)

Expand Down

0 comments on commit 59e48f2

Please sign in to comment.