from .base import * # noqa: F403 DEBUG = False CELERY_TASK_ALWAYS_EAGER = True CELERY_TASK_EAGER_PROPAGATES = True PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"] # base.py's CACHES needs a real Redis instance — tests must not depend on # one being available, and a plain per-process cache is also what keeps # login-rate-limit tests isolated from each other (LocMemCache's default # location is per-process but shared across tests in that process; see # apps.accounts.test_rate_limit's cache.clear() fixture). CACHES = {"default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"}} # Tests change state between calls to /health/ready/; caching it would hide that. EVECTION_HEALTH_CACHE_SECONDS = 0