<commit_before>from flask_testing import TestCase
from flask import current_app
import nose
from application import app, db
import config


class BaseTest(TestCase):
    def create_app(self):
        app.config.from_object(config.environment_configuration['testing'])
        return app

    def setUp(self):
        """ create test database and client """
        self.client = current_app.test_client()
        db.create_all()<commit_msg>update testscase for user registration<commit_after>from flask_testing import TestCase
import nose
from application import app, db
import config


class BaseTest(TestCase):
    def create_app(self):
        app.config.from_object(config.environment_configuration['testing'])
        return app

    def setUp(self):
        """ create test database and client """
        self.client = app.test_client()
        db.create_all()
{'fraction_non_alphanumeric': 0.08304498269896193, 'fraction_numerical': 0.0, 'mean_word_length': 3.641711229946524, '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': '2196896', 'n_tokens_mistral': 231, 'n_tokens_neox': 223, 'n_words': 67}