remove pyproject artifacts
import conv fix postgres url fix migration fixup timestamp postgresql fixup more timestamp fix migrations fix migrations fix statement add psycopg2 for conv tests expiry timestamp flaku fix expiry more wait parse to int remove time from filters
This commit is contained in:
@@ -14,8 +14,8 @@ from lnbits.db import POSTGRES
|
||||
@pytest.mark.asyncio
|
||||
async def test_date_conversion(db):
|
||||
if db.type == POSTGRES:
|
||||
row = await db.fetchone("SELECT now()::date")
|
||||
assert row and isinstance(row[0], date)
|
||||
row = await db.fetchone("SELECT now()::date as now")
|
||||
assert row and isinstance(row.get("now"), date)
|
||||
|
||||
|
||||
# make test to create wallet and delete wallet
|
||||
|
||||
Reference in New Issue
Block a user