Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions cardano_node_tests/tests/test_addr_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,12 @@ def test_addr_registration_certificate_order(
deposit=deposit,
)
except (clusterlib.CLIError, submit_api.SubmitApiError) as exc:
if "(ValueNotConservedUTxO" in str(exc) and VERSIONS.transaction_era >= VERSIONS.CONWAY:
str_exc = str(exc)
if "(ValueNotConservedUTxO" in str_exc and VERSIONS.transaction_era >= VERSIONS.CONWAY:
issues.api_484.finish_test()
if (
build_method == clusterlib_utils.BuildMethods.BUILD_EST
and "does not balance in its use of assets" in str(exc)
if build_method == clusterlib_utils.BuildMethods.BUILD_EST and (
"The transaction balance is negative" in str_exc
or "does not balance in its use of assets" in str_exc
):
issues.cli_1199.finish_test()
raise
Expand Down
6 changes: 5 additions & 1 deletion cardano_node_tests/tests/test_tx_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,11 @@ def test_transfer_all_build_estimate(
tx_files=tx_files,
)
except clusterlib.CLIError as exc:
if "balance of the transaction is negative" in str(exc):
str_exc = str(exc)
if (
"The transaction balance is negative" in str_exc
or "balance of the transaction is negative" in str_exc
):
issues.cli_1199.finish_test()
raise

Expand Down
Loading