new refresh dep add refresh endpoint

This commit is contained in:
IluaAir
2025-09-21 14:59:26 +03:00
parent c3bfb9cb6a
commit 42b8c3a2c9
12 changed files with 125 additions and 66 deletions

View File

@@ -1,4 +1,3 @@
import pytest
from httpx import ASGITransport, AsyncClient
from sqlalchemy import NullPool, insert

View File

@@ -83,4 +83,4 @@ async def test_tasks_crud(db: "TestDBManager"):
assert task.title == data["title"]
await db.task.delete_one(id=task.id)
task = await db.task.get_one_or_none(id=task.id)
assert not task
assert not task