test: fix bleskomat, get wallet from conftest
This commit is contained in:
@@ -14,6 +14,7 @@ from lnbits.extensions.bleskomat.helpers import (
|
||||
query_to_signing_payload,
|
||||
)
|
||||
from lnbits.extensions.bleskomat.models import CreateBleskomat
|
||||
from lnbits.settings import get_wallet_class
|
||||
|
||||
exchange_rate_providers["dummy"] = {
|
||||
"name": "dummy",
|
||||
@@ -65,3 +66,7 @@ async def lnurl(bleskomat):
|
||||
"lnurl": lnurl,
|
||||
"secret": secret,
|
||||
}
|
||||
|
||||
@pytest_asyncio.fixture
|
||||
async def WALLET(bleskomat):
|
||||
return get_wallet_class()
|
||||
|
||||
Reference in New Issue
Block a user