<commit_before>from __future__ import absolute_import
import os

os.environ['INBOX_TESTING'] = '1'
from settings import *

CACHES = {
    "default": {
        "BACKEND": "django.core.cache.backends.dummy.DummyCache"
    }
}
<commit_msg>Use local memory as cache so ratelimit tests don't fail<commit_after>from __future__ import absolute_import
import os

os.environ['INBOX_TESTING'] = '1'
from settings import *

CACHES = {
    "default": {
        "BACKEND": "django.core.cache.backends.locmem.LocMemCache"
    }
}

{'fraction_non_alphanumeric': 0.1182170542635659, 'fraction_numerical': 0.003875968992248062, 'mean_word_length': 4.068627450980392, 'pattern_counts': {'":': 4, '<': 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': '3483178', 'n_tokens_mistral': 175, 'n_tokens_neox': 177, 'n_words': 39}