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
+2 -2
View File
@@ -11,7 +11,7 @@ from lnbits.core.crud import (
from lnbits.db import POSTGRES
@pytest.mark.asyncio
@pytest.mark.anyio
async def test_date_conversion(db):
if db.type == POSTGRES:
row = await db.fetchone("SELECT now()::date as now")
@@ -19,7 +19,7 @@ async def test_date_conversion(db):
# make test to create wallet and delete wallet
@pytest.mark.asyncio
@pytest.mark.anyio
async def test_create_wallet_and_delete_wallet(app, to_user):
# create wallet
wallet = await create_wallet(user_id=to_user.id, wallet_name="test_wallet_delete")