chore: update to latest pytest (#2800)

This commit is contained in:
dni ⚡
2024-12-11 11:39:28 +02:00
committed by GitHub
parent 8ff4962e86
commit 291c69e470
27 changed files with 303 additions and 310 deletions
@@ -10,7 +10,7 @@ from lnbits.wallets.base import PaymentStatus
description = "test create invoice"
@pytest.mark.asyncio
@pytest.mark.anyio
async def test_create_invoice(from_wallet):
payment = await create_invoice(
wallet_id=from_wallet.id,
@@ -28,7 +28,7 @@ async def test_create_invoice(from_wallet):
assert status.pending
@pytest.mark.asyncio
@pytest.mark.anyio
async def test_create_internal_invoice(from_wallet):
payment = await create_invoice(
wallet_id=from_wallet.id, amount=1000, memo=description, internal=True