[pytest] DJANGO_SETTINGS_MODULE = config.settings.test python_files = test_*.py python_classes = Test* python_functions = test_* addopts = -ra --tb=short -q asyncio_mode = auto markers = postgres: 需要 PostgreSQL(行级锁/并发语义),SQLite 下自动跳过 filterwarnings = ignore::DeprecationWarning