1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from wolnelektury.settings import *
6 THUMBNAIL_BACKEND = 'wolnelektury.test_utils.DummyThumbnailBackend'
7 CATALOGUE_GET_MP3_LENGTH = 'catalogue.test_utils.get_mp3_length'
10 SEARCH_CONFIG = 'english'
11 SEARCH_CONFIG_SIMPLE = 'simple'
12 SEARCH_USE_UNACCENT = False
14 # Infrastructure: tests don't need Redis or Memcached.
15 CELERY_BROKER_URL = 'memory://'
16 CELERY_TASK_ALWAYS_EAGER = True
18 'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'},
19 'template_fragments': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'},