fix: fix woodpecker pipelines

This commit is contained in:
2026-04-26 10:29:02 +03:00
parent 32b8b4d02b
commit 8f0d0ffc5c
24 changed files with 349 additions and 110 deletions

View File

@@ -1,11 +1,14 @@
# E2E test fixtures
# Provides: full application state, end-to-end workflows, cleanup
from typing import AsyncGenerator
import pytest
from fastapi import FastAPI
@pytest.fixture
async def e2e_app():
async def e2e_app() -> AsyncGenerator[FastAPI, None]:
"""Create full application instance for E2E testing."""
from app.main import app_factory
@@ -15,7 +18,7 @@ async def e2e_app():
@pytest.fixture
def e2e_user_data():
def e2e_user_data() -> dict[str, str]:
"""Generate realistic user data for E2E scenarios."""
from mimesis import Person