<commit_before>from keybar.conf.base import *

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'keybar_test',
    }
}

certificates_dir = os.path.join(PROJECT_DIR, 'extras', 'certificates')

KEYBAR_SERVER_CERTIFICATE = os.path.join(certificates_dir, 'server.crt')
KEYBAR_SERVER_KEY = os.path.join(certificates_dir, 'server.key')

KEYBAR_CLIENT_CERTIFICATE = os.path.join(certificates_dir, 'ca.crt')
KEYBAR_CLIENT_KEY = os.path.join(certificates_dir, 'ca.key')

KEYBAR_CA_BUNDLE = os.path.join(certificates_dir, 'ca.db.certs', '01.pem')

KEYBAR_DOMAIN = 'keybar.local'
KEYBAR_HOST = 'keybar.local:8443'

PASSWORD_HASHERS = (
    'django.contrib.auth.hashers.MD5PasswordHasher',
)
<commit_msg>Speedup tests a bit<commit_after>from keybar.conf.base import *

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'keybar_test',
    }
}

certificates_dir = os.path.join(PROJECT_DIR, 'extras', 'certificates')

KEYBAR_SERVER_CERTIFICATE = os.path.join(certificates_dir, 'server.crt')
KEYBAR_SERVER_KEY = os.path.join(certificates_dir, 'server.key')

KEYBAR_CLIENT_CERTIFICATE = os.path.join(certificates_dir, 'ca.crt')
KEYBAR_CLIENT_KEY = os.path.join(certificates_dir, 'ca.key')

KEYBAR_CA_BUNDLE = os.path.join(certificates_dir, 'ca.db.certs', '01.pem')

KEYBAR_DOMAIN = 'keybar.local'
KEYBAR_HOST = 'keybar.local:8443'

PASSWORD_HASHERS = (
    'django.contrib.auth.hashers.MD5PasswordHasher',
)

KEYBAR_KDF_ITERATIONS = 100

{'fraction_non_alphanumeric': 0.14267100977198696, 'fraction_numerical': 0.012377850162866449, 'mean_word_length': 5.347107438016529, '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': '2064304', 'n_tokens_mistral': 648, 'n_tokens_neox': 620, 'n_words': 75}