зеркало из https://github.com/mozilla/kitsune.git
16 строки
566 B
Python
16 строки
566 B
Python
# The test system uses this to override settings in settings.py and
|
|
# settings_local.py with settings appropriate for testing.
|
|
|
|
ES_LIVE_INDEXING = False
|
|
|
|
# Make sure Celery is EAGER.
|
|
CELERY_ALWAYS_EAGER = True
|
|
|
|
# Make sure we use port 6383 db 2 redis for tests. That's db 2 of the
|
|
# redis test config. That shouldn't collide with anything else.
|
|
REDIS_BACKENDS = {
|
|
'default': 'redis://localhost:6383?socket_timeout=0.5&db=2',
|
|
'karma': 'redis://localhost:6383?socket_timeout=0.5&db=2',
|
|
'helpfulvotes': 'redis://localhost:6383?socket_timeout=0.5&db=2',
|
|
}
|