fix tests a little

This commit is contained in:
dni ⚡
2022-10-25 09:24:14 +02:00
parent e670b53412
commit 017fd6bb09
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
from mock import AsyncMock
from lnbits import bolt11
from lnbits.settings import WALLET
from lnbits.settings import get_wallet_class
from lnbits.wallets.base import PaymentResponse, PaymentStatus, StatusResponse
from lnbits.wallets.fake import FakeWallet
from .helpers import get_random_string, is_fake
WALLET = get_wallet_class()
# generates an invoice with FakeWallet
async def generate_mock_invoice(**x):