chore: update to latest pytest (#2800)

This commit is contained in:
dni ⚡ 2024-12-11 10:39:28 +01:00 committed by GitHub
parent 8ff4962e86
commit 291c69e470
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 303 additions and 310 deletions

View file

@ -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