<commit_before>import unittest

from flaskext.tests import test_app
from flaskext.tests.test_app import User, Message, Note


class FlaskPeeweeTestCase(unittest.TestCase):
    def setUp(self):
        Note.drop_table(True)
        Message.drop_table(True)
        User.drop_table(True)
        User.create_table()
        Message.create_table()
        Note.create_table()
        self.app = test_app.app.test_client() 
    
    def create_user(self, username, password, **kwargs):
        user = User(username=username, **kwargs)<commit_msg>Adding flask app to base test case<commit_after>import unittest

from flaskext.tests import test_app
from flaskext.tests.test_app import User, Message, Note


class FlaskPeeweeTestCase(unittest.TestCase):
    def setUp(self):
        Note.drop_table(True)
        Message.drop_table(True)
        User.drop_table(True)
        User.create_table()
        Message.create_table()
        Note.create_table()
        self.flask_app = test_app.app
        self.app = test_app.app.test_client() 
    
    def create_user(self, username, password, **kwargs):
        user = User(username=username, **kwargs)
{'fraction_non_alphanumeric': 0.09711286089238845, 'fraction_numerical': 0.0, 'mean_word_length': 3.1751824817518246, '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': '4474511', 'n_tokens_mistral': 361, 'n_tokens_neox': 353, 'n_words': 71}