<commit_before>from django.test import TestCase
from django.urls import reverse
from django.utils.translation import activate


class IndexViewsTest(TestCase):
    def test_index(self):
        """
        The index view.
        """
        activate('en')
        url = reverse('main:index')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')

    def test_about(self):
        """
        The about view.
        """
        activate('en')
        url = reverse('main:about')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')
        self.assertContains(response, 'Τι κάνουμε')

    def test_contact(self):
        """
        The contact view.
        """
        activate('en')
        url = reverse('main:contact')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')<commit_msg>remove hardcoded test string<commit_after>from django.test import TestCase
from django.urls import reverse
from django.utils.translation import activate


class IndexViewsTest(TestCase):
    def test_index(self):
        """
        The index view.
        """
        activate('en')
        url = reverse('main:index')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')

    def test_about(self):
        """
        The about view.
        """
        activate('en')
        url = reverse('main:about')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')

    def test_contact(self):
        """
        The contact view.
        """
        activate('en')
        url = reverse('main:contact')
        response = self.client.get(url)
        self.assertContains(response, 'OK!Thess')
{'fraction_non_alphanumeric': 0.1236528644356211, 'fraction_numerical': 0.0, 'mean_word_length': 2.278810408921933, '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': '481803', 'n_tokens_mistral': 497, 'n_tokens_neox': 487, 'n_words': 105}