mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-03 18:04:36 +02:00
@@ -83,7 +83,7 @@ async def test_create_real_invoice(client, adminkey_headers_from, inkey_headers_
|
|||||||
async for checking_id in get_funding_source().paid_invoices_stream():
|
async for checking_id in get_funding_source().paid_invoices_stream():
|
||||||
if checking_id == invoice["checking_id"]:
|
if checking_id == invoice["checking_id"]:
|
||||||
# wait for the backend to update the payment status
|
# wait for the backend to update the payment status
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(3)
|
||||||
return checking_id
|
return checking_id
|
||||||
|
|
||||||
async def pay():
|
async def pay():
|
||||||
@@ -302,7 +302,7 @@ async def test_receive_real_invoice_set_pending_and_check_state(
|
|||||||
async for checking_id in get_funding_source().paid_invoices_stream():
|
async for checking_id in get_funding_source().paid_invoices_stream():
|
||||||
if checking_id == invoice["checking_id"]:
|
if checking_id == invoice["checking_id"]:
|
||||||
# wait for the backend to update the payment status
|
# wait for the backend to update the payment status
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(3)
|
||||||
return checking_id
|
return checking_id
|
||||||
|
|
||||||
async def pay():
|
async def pay():
|
||||||
|
Reference in New Issue
Block a user