Skip to content

Commit

Permalink
Merge pull request #1978 from input-output-hk/match_new_297
Browse files Browse the repository at this point in the history
Match also the new errors from cardano-cli 297 issue
  • Loading branch information
mkoura authored Oct 6, 2023
2 parents f6af48c + a687f56 commit de0d238
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion cardano_node_tests/tests/tests_plutus/test_delegation.py
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,14 @@ def test_delegate_deregister(
)
except clusterlib.CLIError as exc:
str_exc = str(exc)
if "(MissingScriptWitnessesUTXOW" not in str_exc and "(MissingRedeemers" not in str_exc:
if not (
# Old cardano-cli 297 issue
"(MissingScriptWitnessesUTXOW" in str_exc
or "(MissingRedeemers" in str_exc
# New cardano-cli 297 issue
or "(ExtraRedeemers" in str_exc
or "points to a script hash that is not known" in str_exc
):
raise
ISSUE_297.finish_test()

Expand Down

0 comments on commit de0d238

Please sign in to comment.