<commit_before>from os.path import dirname, join, abspath

BASE_DIR = dirname(abspath(__file__))

INSTALLED_APPS = [
    'django.contrib.staticfiles',
    'markitup',
    ]

TEMPLATE_DIRS = [join(BASE_DIR, 'templates')]

ROOT_URLCONF = 'tests.project.urls'

MARKITUP_FILTER = ('markdown.markdown', {'safe_mode': True})<commit_msg>Use TEMPLATES setting in tests.<commit_after>from os.path import dirname, join, abspath

BASE_DIR = dirname(abspath(__file__))

INSTALLED_APPS = [
    'django.contrib.staticfiles',
    'markitup',
    ]

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            join(BASE_DIR, 'templates'),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.debug',
                'django.template.context_processors.i18n',
                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.template.context_processors.tz',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

ROOT_URLCONF = 'tests.project.urls'

MARKITUP_FILTER = ('markdown.markdown', {'safe_mode': True})
{'fraction_non_alphanumeric': 0.13049962714392244, 'fraction_numerical': 0.0014914243102162564, 'mean_word_length': 2.7381615598885793, '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': '5078091', 'n_tokens_mistral': 437, 'n_tokens_neox': 421, 'n_words': 57}