Skip to content

Commit

Permalink
Update error messages from node PR 4592
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Nov 22, 2022
1 parent 88084bd commit b1a8704
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions cardano_node_tests/tests/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3020,7 +3020,10 @@ def test_missing_fee(
if "Transaction _ fee not supported in" in err_str:
pytest.xfail("See node issue #4591 - Transaction _ fee not supported")

assert "fee must be specified" in err_str, err_str
assert (
"fee must be specified" in err_str
or "Implicit transaction fee not supported" in err_str
), err_str

@allure.link(helpers.get_vcs_link())
@pytest.mark.skipif(
Expand Down Expand Up @@ -3065,7 +3068,10 @@ def test_missing_ttl(
if "Transaction validity upper bound not supported" in err_str:
pytest.xfail("See node issue #4591 - Transaction validity upper bound not supported")

assert "TTL must be specified" in err_str, err_str
assert (
"TTL must be specified" in err_str
or "Transaction validity upper bound must be specified" in err_str
), err_str

@allure.link(helpers.get_vcs_link())
def test_missing_tx_in(
Expand Down

0 comments on commit b1a8704

Please sign in to comment.