Create focused tests for Python FastAPI applications.
Create or extend pytest tests for Python FastAPI endpoints. Use when asked to test routes, request validation, authentication, or API responses in a FastAPI application.