Skip to content

Commit 0810534

Browse files
committed
fix(tests): match also evaluation error when protver is wrong
Extend the error handling in the PlutusV3 mint build test to also catch "Script evaluation error" messages, in addition to the existing protocol version error.
1 parent 75687d4 commit 0810534

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ def run_scenario(
185185
)
186186
except clusterlib.CLIError as excp:
187187
str_excp = str(excp)
188-
if (
189-
not is_prot_version_ok
190-
and "not available in language PlutusV3 at and protocol version" in str_excp
188+
if not is_prot_version_ok and (
189+
"not available in language PlutusV3 at and protocol version" in str_excp
190+
or "Script evaluation error" in str_excp
191191
):
192192
return
193193
if (not is_cost_model_ok or outcome == Outcomes.OVERSPEND) and (

0 commit comments

Comments
 (0)