Annotate test_wallet_user_store.py (#17260)

Annotate test_wallet_user_store.py.
This commit is contained in:
Amine Khaldi
2024-01-10 14:37:55 -06:00
committed by GitHub
parent 9926f26398
commit 80c8d7579d
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -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
+2 -1
View File
@@ -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):