[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

@@ -72,6 +72,12 @@ async def test_get_keyset(wallet1: Wallet):
assert len(keys1.public_keys) == len(keys2.public_keys)
@pytest.mark.asyncio
async def test_get_info(wallet1: Wallet):
info = await wallet1._get_info(wallet1.url)
assert info.name
@pytest.mark.asyncio
async def test_get_nonexistent_keyset(wallet1: Wallet):
await assert_err(