text: # -*- coding: utf-8 -*-
  """
  Test settings for the project.
  
  - Used to run tests locally and on a CI server.
  """
  
  from .common import *
  
  # DEBUG CONFIGURATION
  # ------------------------------------------------------------------------------
  DEBUG = False
  TEMPLATES[0]['OPTIONS']['debug'] = False
  
  # SECRET CONFIGURATION
  # ------------------------------------------------------------------------------
  # See: https://docs.djangoproject.com/en/dev/ref/settings/#secret-key
  # Note: This key only used for development and testing.
  SECRET_KEY = env('DJANGO_SECRET_KEY', default='CHANGEME!!!')
  
  # EMAIL CONFIGURATION
  # ------------------------------------------------------------------------------
  EMAIL_HOST = 'localhost'
  EMAIL_PORT = 1025
  # In-memory email backend stores messages in django.core.mail.outbox
  # for unit testing purposes.
  EMAIL_BACKEND = 'django.core.mail.backends.locmem.EmailBackend'
  
  # CACHING CONFIGURATION
  # ------------------------------------------------------------------------------
  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
          'LOCATION': ''
      }
  }
  
  # TESTING CONFIGURATION
  # ------------------------------------------------------------------------------
  TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  
  # PASSWORD HASHING CONFIGURATION
  # ------------------------------------------------------------------------------
  PASSWORD_HASHERS = [
      'django.contrib.auth.hashers.MD5PasswordHasher',
  ]
  
  # TEMPLATE LOADER CONFIGURATION
  # ------------------------------------------------------------------------------
  TEMPLATES[0]['OPTIONS']['loaders'] = [
      ['django.template.loaders.cached.Loader', [
          'django.template.loaders.filesystem.Loader',
          'django.template.loaders.app_directories.Loader',
      ], ],
  ]
  