feat: implement blog project with CI pipeline

This commit is contained in:
2026-04-25 19:19:33 +03:00
parent ce8073da2c
commit 32b8b4d02b
34 changed files with 1078 additions and 0 deletions

27
tests/e2e/conftest.py Normal file
View File

@@ -0,0 +1,27 @@
# E2E test fixtures
# Provides: full application state, end-to-end workflows, cleanup
import pytest
@pytest.fixture
async def e2e_app():
"""Create full application instance for E2E testing."""
from app.main import app_factory
app = app_factory()
yield app
# Cleanup after E2E test
@pytest.fixture
def e2e_user_data():
"""Generate realistic user data for E2E scenarios."""
from mimesis import Person
person = Person()
return {
"username": person.username(),
"email": person.email(),
"password": "SecurePass123!",
}