[tool.pytest] ini_options.pythonpath = [ "../src", "..", "." ] ini_options.markers = [ """\ profiling: Profiling scripts comparing old vs new query patterns; require a throwaway PostgreSQL container, not run \ as part of the normal test suite\ """, ] ini_options.DJANGO_SETTINGS_MODULE = "paperless.settings" [tool.pytest_env] # Standalone config: this directory must be independently runnable without # the rest of the dev stack (Redis, etc) present -- only Postgres is required, # via run_with_postgres.sh. PAPERLESS_SECRET_KEY = "profiling-only-insecure-key" PAPERLESS_DISABLE_DBHANDLER = "true" PAPERLESS_CACHE_BACKEND = "django.core.cache.backends.locmem.LocMemCache" PAPERLESS_CHANNELS_BACKEND = "channels.layers.InMemoryChannelLayer"