<commit_before>import os as _os


_PROJECT_PATH = _os.path.abspath(_os.path.dirname(__file__))

DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
MANAGERS = ADMINS
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'testing.db',
        'USER': '',
        'PASSWORD': '',
        'HOST': '',
        'PORT': '',
    }
}
TIME_ZONE = 'America/Chicago'
USE_TZ = True
LANGUAGE_CODE = 'en-us'
SITE_ID = 1
USE_I18N = True
USE_L10N = True
MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = ''
STATIC_URL = '/static/'
ADMIN_MEDIA_PREFIX = '/static/admin/'
STATICFILES_DIRS = ()
STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
#    'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
SECRET_KEY = '<KEY>
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
#     'django.template.loaders.eggs.Loader',
)
MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'security.middleware.SessionExpiryPolicyMiddleware',
    'security.middleware.LoginRequiredMiddleware',
    'security.middleware.XFrameOptionsMiddleware',
    'security.middleware.ContentNoSniff',
    'security.middleware.ContentSecurityPolicyMiddleware',
    'security.middleware.StrictTransportSecurityMiddleware',
    'django.middleware.transaction.TransactionMiddleware',
    'security.middleware.P3PPolicyMiddleware',
    'security.middleware.XssProtectMiddleware',
    'security.middleware.MandatoryPasswordChangeMiddleware',
    'security.middleware.NoConfidentialCachingMiddleware',
    'security.auth_throttling.Middleware',
)
ROOT_URLCONF = 'testing.urls'
TEMPLATE_DIRS = (_os.path.join(_PROJECT_PATH, "templates"),)
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.staticfiles',
    'security',
    'tests'
)

LOGIN_REDIRECT_URL="/home/"

# The tests for django.contrib.auth use certain URLs, and they'll fail if we
# interfere with these.
_DJANGO_TESTING_URLS = [
    'login/', 'login_required/', 'login_required_login_url/',
    'admin_password_reset/', 'logout/', 'password_reset/',
    'password_reset_from_email/', 'reset/', 'password_change/', 'remote_user/',
    'auth_processor_messages/', 'auth_processor_perms/',<commit_msg>Explicitly define a test runner for >= 1.6<commit_after>import os as _os


_PROJECT_PATH = _os.path.abspath(_os.path.dirname(__file__))

DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
MANAGERS = ADMINS
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'testing.db',
        'USER': '',
        'PASSWORD': '',
        'HOST': '',
        'PORT': '',
    }
}
TIME_ZONE = 'America/Chicago'
USE_TZ = True
LANGUAGE_CODE = 'en-us'
SITE_ID = 1
USE_I18N = True
USE_L10N = True
MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = ''
STATIC_URL = '/static/'
ADMIN_MEDIA_PREFIX = '/static/admin/'
STATICFILES_DIRS = ()
STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
#    'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
SECRET_KEY = 'p_2zsf+@4uw$kcdl$!tkf0lrh%w^!#@2@iwo4plef2n$(@uj4_'
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
#     'django.template.loaders.eggs.Loader',
)
MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'security.middleware.SessionExpiryPolicyMiddleware',
    'security.middleware.LoginRequiredMiddleware',
    'security.middleware.XFrameOptionsMiddleware',
    'security.middleware.ContentNoSniff',
    'security.middleware.ContentSecurityPolicyMiddleware',
    'security.middleware.StrictTransportSecurityMiddleware',
    'django.middleware.transaction.TransactionMiddleware',
    'security.middleware.P3PPolicyMiddleware',
    'security.middleware.XssProtectMiddleware',
    'security.middleware.MandatoryPasswordChangeMiddleware',
    'security.middleware.NoConfidentialCachingMiddleware',
    'security.auth_throttling.Middleware',
)
ROOT_URLCONF = 'testing.urls'
TEMPLATE_DIRS = (_os.path.join(_PROJECT_PATH, "templates"),)
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.staticfiles',
    'security',
    'tests'
)
TEST_RUNNER = 'django.test.runner.DiscoverRunner'

LOGIN_REDIRECT_URL="/home/"

# The tests for django.contrib.auth use certain URLs, and they'll fail if we
# interfere with these.
_DJANGO_TESTING_URLS = [
    'login/', 'login_required/', 'login_required_login_url/',
    'admin_password_reset/', 'logout/', 'password_reset/',
    'password_reset_from_email/', 'reset/', 'password_change/', 'remote_user/',
    'auth_processor_messages/', 'auth_processor_perms/',
{'fraction_non_alphanumeric': 0.1363054997259273, 'fraction_numerical': 0.0042024483829709485, 'mean_word_length': 4.708029197080292, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 5, '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': '3667696', 'n_tokens_mistral': 1853, 'n_tokens_neox': 1877, 'n_words': 233}