<commit_before>import pytest
from pkg_resources import resource_listdir
from snovault.schema_utils import load_schema
import re

pytestmark = [pytest.mark.working, pytest.mark.schema]

SCHEMA_FILES = [
    f for f in resource_listdir('encoded', 'schemas')
    if f.endswith('.json')
]


@pytest.fixture(scope='module')
def master_mixins():
    mixins = load_schema('encoded:schemas/mixins.json')
    mixin_keys = [
        'schema_version',
        'uuid',
        'accession',
        'aliases',
        'status',
        'submitted',
        'modified',
        'references',
        'attribution',
        'notes',
        'documents',
        'attachment',
        'attachments',
        'dbxrefs',
        'library',
        'sop_mapping'
    ]
    for key in mixin_keys:
        assert(mixins[key])


def camel_case(name):
    return ''.join(x for x in name.title() if not x == '_')<commit_msg>Added all mixins to list in test_schemas.py<commit_after>import pytest
from pkg_resources import resource_listdir
from snovault.schema_utils import load_schema
import re

pytestmark = [pytest.mark.working, pytest.mark.schema]

SCHEMA_FILES = [
    f for f in resource_listdir('encoded', 'schemas')
    if f.endswith('.json')
]


@pytest.fixture(scope='module')
def master_mixins():
    mixins = load_schema('encoded:schemas/mixins.json')
    mixin_keys = [
        'schema_version',
        'uuid',
        'accession',
        'aliases',
        'status',
        'submitted',
        'release_dates',
        'modified',
        'references',
        'attribution',
        'notes',
        'documents',
        'attachment',
        'dbxrefs',
        'library',
        'antibody_info',
        'spikein_info',
        'sop_mapping',
        'tags',
        'badges',
        'facets_common'
    ]
    for key in mixin_keys:
        assert(mixins[key])


def camel_case(name):
    return ''.join(x for x in name.title() if not x == '_')
{'fraction_non_alphanumeric': 0.12783505154639174, 'fraction_numerical': 0.0, 'mean_word_length': 2.4722719141323792, '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': '5695933', 'n_tokens_mistral': 645, 'n_tokens_neox': 631, 'n_words': 135}