Skip to content
Snippets Groups Projects
Commit 772fd378 authored by Moul's avatar Moul
Browse files
parent 71dddfb1
No related branches found
No related tags found
2 merge requests!146Merge dev into master branch to complete v0.8.0 development cycle,!132Multiple enhancements
This diff is collapsed.
...@@ -76,7 +76,7 @@ def test_tx_passed_amount_cli(): ...@@ -76,7 +76,7 @@ def test_tx_passed_amount_cli():
assert result.exit_code == FAILURE_EXIT_STATUS assert result.exit_code == FAILURE_EXIT_STATUS
result = CliRunner().invoke(cli, ["tx", "-r", "A", "-a", MINIMAL_TX_AMOUNT - 0.001]) result = CliRunner().invoke(cli, ["tx", "-r", "A", "-a", MINIMAL_TX_AMOUNT - 0.001])
assert 'Error: Invalid value for "--amount"' in result.output assert "Error: Invalid value for '--amount'" in result.output
assert result.exit_code == 2 assert result.exit_code == 2
result = CliRunner().invoke(cli, ["tx", "-r", "A", "-a", 1, "-a", 2]) result = CliRunner().invoke(cli, ["tx", "-r", "A", "-a", 1, "-a", 2])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment