Experiment with disabling whitenoise middleware

This commit is contained in:
Trenton H
2025-09-10 08:52:02 -07:00
parent 84942a4e69
commit ba40626838
2 changed files with 25 additions and 0 deletions

View File

@@ -249,6 +249,10 @@ norecursedirs = [ "src/locale/", ".venv/", "src-ui/" ]
DJANGO_SETTINGS_MODULE = "paperless.settings"
markers = [
"use_whitenoise: mark test to run with Whitenoise middleware enabled",
]
[tool.pytest_env]
PAPERLESS_DISABLE_DBHANDLER = "true"
PAPERLESS_CACHE_BACKEND = "django.core.cache.backends.locmem.LocMemCache"