mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
29 lines
627 B
Python
29 lines
627 B
Python
"""
|
|
Alliance Auth Test Suite Django settings
|
|
|
|
Testing core packages only
|
|
"""
|
|
|
|
from allianceauth.project_template.project_name.settings.base import *
|
|
|
|
# Celery configuration
|
|
CELERY_ALWAYS_EAGER = True # Forces celery to run locally for testing
|
|
|
|
|
|
ROOT_URLCONF = 'tests.urls'
|
|
|
|
CACHES = {
|
|
"default": {
|
|
"BACKEND": "django_redis.cache.RedisCache",
|
|
"LOCATION": "redis://127.0.0.1:6379/1"
|
|
}
|
|
}
|
|
|
|
PASSWORD_HASHERS = [
|
|
'django.contrib.auth.hashers.MD5PasswordHasher',
|
|
]
|
|
|
|
LOGGING = None # Comment out to enable logging for debugging
|
|
|
|
ALLIANCEAUTH_DASHBOARD_TASK_STATISTICS_DISABLED = True # disable for tests
|