mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-24 15:29:53 -05:00
Annotate test_wallet_user_store.py (#17260)
Annotate test_wallet_user_store.py.
This commit is contained in:
@@ -117,6 +117,5 @@ tests.wallet.test_taproot
|
||||
tests.wallet.test_wallet_blockchain
|
||||
tests.wallet.test_wallet_interested_store
|
||||
tests.wallet.test_wallet_key_val_store
|
||||
tests.wallet.test_wallet_user_store
|
||||
tools.analyze-chain
|
||||
tools.run_block
|
||||
|
||||
@@ -8,7 +8,7 @@ from tests.util.db_connection import DBConnection
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
async def test_store():
|
||||
async def test_store() -> None:
|
||||
async with DBConnection(1) as db_wrapper:
|
||||
store = await WalletUserStore.create(db_wrapper)
|
||||
await store.init_wallet()
|
||||
@@ -17,6 +17,7 @@ async def test_store():
|
||||
assert (await store.get_last_wallet()).id == i
|
||||
wallet = await store.create_wallet("CAT_WALLET", WalletType.CAT, "abc")
|
||||
assert wallet.id == i + 1
|
||||
assert wallet is not None
|
||||
assert wallet.id == 5
|
||||
|
||||
for i in range(2, 6):
|
||||
|
||||
Reference in New Issue
Block a user