From 8cde7ca0c69c01c8a5d244ace763606d90c76820 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Thu, 18 Dec 2025 23:45:36 +0100 Subject: [PATCH] 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. --- cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py b/cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py index 2bb872794..7237d06f0 100644 --- a/cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py +++ b/cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py @@ -185,9 +185,9 @@ def run_scenario( ) except clusterlib.CLIError as excp: str_excp = str(excp) - if ( - not is_prot_version_ok - and "not available in language PlutusV3 at and protocol version" in str_excp + if not is_prot_version_ok and ( + "not available in language PlutusV3 at and protocol version" in str_excp + or "Script evaluation error" in str_excp ): return if (not is_cost_model_ok or outcome == Outcomes.OVERSPEND) and (