<commit_before># -*- coding: utf-8 -*-

from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app


class FogspoonFrontendTestCase(FogspoonAppTestCase):

    def test_front(self):
        r = self.get('/')
        self.assertOkHtml(r)
        self.assertEquals(1677, len(r.data))

    def _create_app(self):
        return create_app(settings)

    def setUp(self):
        super(FogspoonFrontendTestCase, self).setUp()<commit_msg>Fix unittest issue with last commit<commit_after># -*- coding: utf-8 -*-

from . import FogspoonAppTestCase, settings
from fogspoon.frontend import create_app


class FogspoonFrontendTestCase(FogspoonAppTestCase):

    def test_front(self):
        r = self.get('/')
        self.assertOkHtml(r)
        self.assertEquals(1648, len(r.data))

    def _create_app(self):
        return create_app(settings)

    def setUp(self):
        super(FogspoonFrontendTestCase, self).setUp()
{'fraction_non_alphanumeric': 0.11087420042643924, 'fraction_numerical': 0.010660980810234541, 'mean_word_length': 3.4714285714285715, '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': '83309', 'n_tokens_mistral': 311, 'n_tokens_neox': 298, 'n_words': 60}