This is clear enough and testing it seems useless

This commit is contained in:
Trenton H
2026-04-02 14:55:12 -07:00
parent 3e9558bf5e
commit 6c8622b6b3

View File

@@ -465,7 +465,7 @@ SECURE_PROXY_SSL_HEADER = (
)
SECRET_KEY = os.getenv("PAPERLESS_SECRET_KEY", "")
if not SECRET_KEY:
if not SECRET_KEY: # pragma: no cover
raise ImproperlyConfigured(
"PAPERLESS_SECRET_KEY is not set. "
"A unique, secret key is required for secure operation. "