Skip to content

Commit

Permalink
Xfail on CLI issue 796
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Jun 21, 2024
1 parent 01365cc commit 1972e69
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cardano_node_tests/tests/issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 5 additions & 1 deletion cardano_node_tests/tests/test_tx_negative.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,14 +1336,18 @@ 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()

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())
Expand Down

0 comments on commit 1972e69

Please sign in to comment.