[pytest] DJANGO_SETTINGS_MODULE = config.settings.test python_files = test_*.py testpaths = apps core config markers = unit: Isolated tests without database or HTTP requests. integration: Database, HTTP, or management command tests. addopts = --strict-markers --import-mode=importlib filterwarnings = # Django Ninja 1.4.3 still defines internal schemas with Pydantic class Config. ignore:Support for class-based `config` is deprecated: pydantic.warnings.PydanticDeprecatedSince20 # Django 5.2 warns while Ninja builds schemas from model URLFields. ignore:The default scheme will be changed from 'http' to 'https' in Django 6.0:django.utils.deprecation.RemovedInDjango60Warning