[Wip] [Wallet] NUT-09: Get mint info and add many type annotations (#262)

* get mint info and add many type annotations

* tests

* make format
This commit is contained in:
callebtc
2023-06-25 02:21:40 +02:00
committed by GitHub
parent 339c3fb066
commit 77278127ae
4 changed files with 154 additions and 20 deletions

View File

@@ -45,6 +45,20 @@ def test_info(cli_prefix):
assert result.exit_code == 0
@pytest.mark.asyncio
def test_info_with_mint(cli_prefix):
runner = CliRunner()
result = runner.invoke(
cli,
[*cli_prefix, "info", "-m"],
)
assert result.exception is None
print("INFO -M")
print(result.output)
assert "Mint name" in result.output
assert result.exit_code == 0
@pytest.mark.asyncio
def test_balance(cli_prefix):
runner = CliRunner()