fix: fix woodpecker pipelines
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user