<commit_before>"""
Tests related to the basic footer-switching based off SITE_NAME to ensure
edx.org uses an edx footer but other instances use an Open edX footer.
"""

from mock import patch

from django.conf import settings
from django.test import TestCase


class TestFooter(TestCase):
<commit_msg>Add missing import of override_settings to fix a broken test in courseware<commit_after>"""
Tests related to the basic footer-switching based off SITE_NAME to ensure
edx.org uses an edx footer but other instances use an Open edX footer.
"""

from mock import patch

from django.conf import settings
from django.test import TestCase
from django.test.utils import override_settings


class TestFooter(TestCase):

{'fraction_non_alphanumeric': 0.05063291139240506, 'fraction_numerical': 0.0, 'mean_word_length': 5.137931034482759, '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': '6951964', 'n_tokens_mistral': 196, 'n_tokens_neox': 187, 'n_words': 93}