Skip to content

Commit 2f47029

Browse files
committed
Also accept failure cases when script evaluation fails
1 parent d52aad1 commit 2f47029

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cardano_node_tests/tests/tests_plutus_v3/test_mint_build.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ def run_scenario(
182182
"overspending the budget." in str_excp
183183
):
184184
return
185-
if outcome == Outcomes.ERROR and "The machine terminated because of an error" in str_excp:
185+
if outcome == Outcomes.ERROR and (
186+
"The machine terminated because of an error" in str_excp or
187+
"Script evaluation error" in str_excp
188+
):
186189
return
187190
raise
188191

0 commit comments

Comments
 (0)