<commit_before>from datetime import datetime
from bunch import Bunch
from mongoengine import connect
from nose.tools import assert_equal
from qiprofile_rest_client.model.subject import Subject
from qipipe.qiprofile import demographics
from ...helpers.logging import logger
from ... import PROJECT
from . import (DATABASE, BREAST_FIXTURE, SARCOMA_FIXTURE)

COLLECTION = 'Breast'
"""The test collection."""

SUBJECT = 1
"""The test subject number."""

SESSION = 1
"""The test session number."""


class TestUpdate(object):
    """
    Database update tests.
    """

    def setup(self):
        self._connection = connect(db=DATABASE)
        self._connection.drop_database(DATABASE)

    def tearDown(self):
      self._connection.drop_database(DATABASE)

    def test_breast(self):
        # TODO - make a simpler mash-up of the clinical and imaging test cases.
        pass
    
    def test_sarcoma(self):
        # TODO - make a simpler mash-up of the clinical and imaging test cases.
        pass


if __name__ == "__main__":
    import nose
    nose.main(defaultTest=__name__)<commit_msg>PEP8 newline.<commit_after>from datetime import datetime
from bunch import Bunch
from mongoengine import connect
from nose.tools import assert_equal
from qiprofile_rest_client.model.subject import Subject
from qipipe.qiprofile import demographics
from ...helpers.logging import logger
from ... import PROJECT
from . import (DATABASE, BREAST_FIXTURE, SARCOMA_FIXTURE)

COLLECTION = 'Breast'
"""The test collection."""

SUBJECT = 1
"""The test subject number."""

SESSION = 1
"""The test session number."""


class TestUpdate(object):
    """
    Database update tests.
    """

    def setup(self):
        self._connection = connect(db=DATABASE)
        self._connection.drop_database(DATABASE)

    def tearDown(self):
      self._connection.drop_database(DATABASE)

    def test_breast(self):
        # TODO - make a simpler mash-up of the clinical and imaging test cases.
        pass

    def test_sarcoma(self):
        # TODO - make a simpler mash-up of the clinical and imaging test cases.
        pass


if __name__ == "__main__":
    import nose
    nose.main(defaultTest=__name__)
{'fraction_non_alphanumeric': 0.08928571428571429, 'fraction_numerical': 0.0022893772893772895, 'mean_word_length': 3.4320486815415823, 'pattern_counts': {'":': 2, '<': 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': '5089556', 'n_tokens_mistral': 662, 'n_tokens_neox': 624, 'n_words': 204}