From 1972e692721f25e543cf67913ac93e40b9ce8116 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Fri, 21 Jun 2024 15:23:56 +0200 Subject: [PATCH] Xfail on CLI issue 796 https://github.com/IntersectMBO/cardano-cli/issues/796 --- cardano_node_tests/tests/issues.py | 6 ++++++ cardano_node_tests/tests/test_tx_negative.py | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/cardano_node_tests/tests/issues.py b/cardano_node_tests/tests/issues.py index f9ad20085..b245e1969 100644 --- a/cardano_node_tests/tests/issues.py +++ b/cardano_node_tests/tests/issues.py @@ -45,6 +45,12 @@ fixed_in="8.23.1.1", # Fixed in a release after 8.23.1.0 message="Option `--fee` not required.", ) +cli_796 = blockers.GH( + issue=796, + repo="IntersectMBO/cardano-cli", + fixed_in="8.24.0.1", # Fixed in a release after 8.24.0.0 + message="Option `--fee` not required.", +) consensus_973 = blockers.GH( issue=973, diff --git a/cardano_node_tests/tests/test_tx_negative.py b/cardano_node_tests/tests/test_tx_negative.py index 2365bce31..8245fc457 100644 --- a/cardano_node_tests/tests/test_tx_negative.py +++ b/cardano_node_tests/tests/test_tx_negative.py @@ -1336,7 +1336,10 @@ def test_missing_fee( except clusterlib.CLIError as exc: err_str = str(exc) else: - issues.cli_768.finish_test() + if VERSIONS.node < version.parse("8.12.0"): + issues.cli_768.finish_test() + else: + issues.cli_796.finish_test() if "Transaction _ fee not supported in" in err_str: issues.node_4591.finish_test() @@ -1344,6 +1347,7 @@ def test_missing_fee( assert ( "fee must be specified" in err_str or "Implicit transaction fee not supported" in err_str + or "Missing: --fee LOVELACE" in err_str # node >= 8.12.0 ), err_str @allure.link(helpers.get_vcs_link())