<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from main import TornadoApp
from tornado.testing import AsyncHTTPTestCase, gen_test


class TornadoAppTest(AsyncHTTPTestCase):
    def get_app(self):
        return TornadoApp()

    @gen_test
    def test_app(self):
        response = yield self.http_client.fetch(self.get_url('/'))
        self.assertEqual(str(response.body, 'utf-8'), "Hello, world")
<commit_msg>Modify import<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from app.main import TornadoApp
from tornado.testing import AsyncHTTPTestCase, gen_test


class TornadoAppTest(AsyncHTTPTestCase):
    def get_app(self):
        return TornadoApp()

    @gen_test
    def test_app(self):
        response = yield self.http_client.fetch(self.get_url('/'))
        self.assertEqual(str(response.body, 'utf-8'), "Hello, world")

{'fraction_non_alphanumeric': 0.1313953488372093, 'fraction_numerical': 0.004651162790697674, 'mean_word_length': 3.7569060773480665, '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': '2083120', 'n_tokens_mistral': 283, 'n_tokens_neox': 274, 'n_words': 59}