[pytest] DJANGO_SETTINGS_MODULE = config.settings.test python_files = tests/test_*.py **/tests/test_*.py python_classes = Test* python_functions = test_* addopts = --reuse-db --strict-markers markers = asyncio: asyncio tests smoke: smoke tests that verify startup and critical wiring settings: settings-matrix tests integration: tests requiring live service connections security: security regression tests (headers, CSP, throttling, middleware) upload: upload defense tests (extension, size, magic-byte validation)