Skip to content

Commit ae4e2cd

Browse files
committed
Update error messages from node PR 4592
See IntersectMBO/cardano-node#4592
1 parent 5461bb0 commit ae4e2cd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

cardano_node_tests/tests/test_tx_negative.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,10 @@ def test_missing_fee(
936936
if "Transaction _ fee not supported in" in err_str:
937937
pytest.xfail("See node issue #4591 - Transaction _ fee not supported")
938938

939-
assert "fee must be specified" in err_str, err_str
939+
assert (
940+
"fee must be specified" in err_str
941+
or "Implicit transaction fee not supported" in err_str
942+
), err_str
940943

941944
@allure.link(helpers.get_vcs_link())
942945
@pytest.mark.skipif(
@@ -983,7 +986,10 @@ def test_missing_ttl(
983986
if "Transaction validity upper bound not supported" in err_str:
984987
pytest.xfail("See node issue #4591 - Transaction validity upper bound not supported")
985988

986-
assert "TTL must be specified" in err_str, err_str
989+
assert (
990+
"TTL must be specified" in err_str
991+
or "Transaction validity upper bound must be specified" in err_str
992+
), err_str
987993

988994
@allure.link(helpers.get_vcs_link())
989995
def test_missing_tx_in(

0 commit comments

Comments
 (0)