Skip to content

Commit

Permalink
Match also the new errors from cardano-cli 297 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Oct 6, 2023
1 parent 790a1b0 commit 12802cf
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 12802cf

Please sign in to comment.