<commit_before>"""
Settings used during testing of the application
"""
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import
from muckrock.settings.base import *

COMPRESS_ENABLED = False
CACHES['default']['BACKEND'] = 'django.core.cache.backends.dummy.DummyCache'

PASSWORD_HASHERS = (
            'django.contrib.auth.hashers.MD5PasswordHasher',
            )

INSTALLED_APPS += ('django_nose',)

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

# minimal middleware for speed
# can I disable more?
MIDDLEWARE_CLASSES = (
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'lot.middleware.LOTMiddleware',
    'muckrock.middleware.RemoveTokenMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
)

BROKER_BACKEND = 'memory'

DEFAULT_FILE_STORAGE = 'inmemorystorage.InMemoryStorage'
<commit_msg>updates settings to celery tasks evaluate<commit_after>"""
Settings used during testing of the application
"""
# pylint: disable=wildcard-import
# pylint: disable=unused-wildcard-import
from muckrock.settings.base import *

COMPRESS_ENABLED = False
CACHES['default']['BACKEND'] = 'django.core.cache.backends.dummy.DummyCache'

PASSWORD_HASHERS = (
            'django.contrib.auth.hashers.MD5PasswordHasher',
            )

INSTALLED_APPS += ('django_nose',)

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

# minimal middleware for speed
# can I disable more?
MIDDLEWARE_CLASSES = (
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'lot.middleware.LOTMiddleware',
    'muckrock.middleware.RemoveTokenMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
)

BROKER_BACKEND = 'memory'
CELERY_ALWAYS_EAGER = True

DEFAULT_FILE_STORAGE = 'inmemorystorage.InMemoryStorage'

{'fraction_non_alphanumeric': 0.11060948081264109, 'fraction_numerical': 0.0009029345372460496, 'mean_word_length': 5.3861671469740635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7026231', 'n_tokens_mistral': 708, 'n_tokens_neox': 705, 'n_words': 99}