Add comprehensive test suite and utilities for user functionality

This commit introduces a suite of tests for user models, schemas, CRUD operations, and authentication services. It also adds utilities for in-memory database setup to support these tests and updates environment settings for consistency.
This commit is contained in:
2025-03-04 19:10:54 +01:00
parent 481b6d618e
commit 162e586e13
40 changed files with 2948 additions and 11 deletions

View File

@@ -4,13 +4,14 @@ uvicorn>=0.34.0
pydantic>=2.10.6
pydantic-settings>=2.2.1
python-multipart>=0.0.19
fastapi-utils==0.8.0
# Database
sqlalchemy>=2.0.29
alembic>=1.14.1
psycopg2-binary>=2.9.9
asyncpg>=0.29.0
aiosqlite==0.21.0
# Security and authentication
python-jose>=3.4.0
passlib>=1.7.4
@@ -30,7 +31,7 @@ httpx>=0.27.0
tenacity>=8.2.3
pytz>=2024.1
pillow>=10.3.0
apscheduler==3.11.0
# Testing
pytest>=8.0.0
pytest-asyncio>=0.23.5
@@ -41,4 +42,11 @@ requests>=2.32.0
black>=24.3.0
isort>=5.13.2
flake8>=7.0.0
mypy>=1.8.0
mypy>=1.8.0
# Security
python-jose==3.4.0
bcrypt==4.2.1
cryptography==44.0.1
passlib==1.7.4
freezegun~=1.5.1