Skip to content

Commit

Permalink
XFAIL on cli issue (PR) 768
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed May 16, 2024
1 parent 027476c commit 549ef4d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions cardano_node_tests/tests/issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
fixed_in="8.22.0.1", # Fixed in a release after 8.22.0.0
message="Option `--reference-script-size` required.",
)
cli_768 = blockers.GH(
issue=768,
repo="IntersectMBO/cardano-cli",
fixed_in="8.23.1.1", # Fixed in a release after 8.23.1.0
message="Option `--fee` not required.",
)

consensus_973 = blockers.GH(
issue=973,
Expand Down
8 changes: 6 additions & 2 deletions cardano_node_tests/tests/test_tx_negative.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,8 @@ def test_missing_fee(
txins=tx_raw_output.txins, txouts=tx_raw_output.txouts
)

with pytest.raises(clusterlib.CLIError) as excinfo:
err_str = ""
try:
cluster.cli(
[
"transaction",
Expand All @@ -1332,7 +1333,10 @@ def test_missing_fee(
*helpers.prepend_flag("--tx-out", txouts),
]
)
err_str = str(excinfo.value)
except clusterlib.CLIError as exc:
err_str = str(exc)
else:
issues.cli_768.finish_test()

if "Transaction _ fee not supported in" in err_str:
issues.node_4591.finish_test()
Expand Down

0 comments on commit 549ef4d

Please sign in to comment.