Three-pane webmail client. - Backend: FastAPI + async SQLAlchemy + arq worker (Postgres/Redis), IMAP/SMTP sync, threading, search, drafts/outbox with undo, attachments, 2FA. - Frontend: React 18 + Vite + TypeScript + TanStack Query + Tailwind; three-pane UI with rich-text composer, light/dark themes, resizable panels. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
16 lines
385 B
Python
16 lines
385 B
Python
"""Fixtures for threading tests: the shared rollback session + a threading env."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import pytest_asyncio
|
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
|
|
from tests.threading.env import ThreadingEnv
|
|
|
|
|
|
@pytest_asyncio.fixture
|
|
async def env(db_session: AsyncSession) -> ThreadingEnv:
|
|
e = ThreadingEnv(db_session)
|
|
await e.setup()
|
|
return e
|