old_contents: import os
  import sys
  
  DEBUG = True
  BASE_DIR = os.path.dirname(os.path.dirname(__file__))
  SECRET_KEY = 'cookies_are_delicious_delicacies'
  ROOT_URLCONF = 'urls'
  LANGUAGE_CODE = 'en-us'
  TIME_ZONE = 'UTC'
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  MIDDLEWARE_CLASSES = ()
  DEFAULT_INDEX_TABLESPACE = ''
  
  # Make sure the copy of seeker in the directory above this one is used.
  sys.path.insert(0, BASE_DIR)
  
  INSTALLED_APPS = (
      'bungiesearch',
      'core',
  )
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  BUNGIESEARCH = {
      'URLS': [os.getenv('ELASTIC_SEARCH_URL', 'localhost')],
      'ES_SETTINGS': {
          'http_auth': os.getenv('ELASTIC_SEARCH_AUTH')
      },
      'ALIASES': {
          'bsearch': 'core.search_aliases'
      },
      'INDICES': {
          'bungiesearch_demo': 'core.search_indices',
          'bungiesearch_demo_bis': 'core.search_indices_bis'
      },
      'SIGNALS': {
          'BUFFER_SIZE': 1,
          'SIGNAL_CLASS': 'core.bungie_signal.BungieTestSignalProcessor'
      }
  }
  
new_contents: import os
  import sys
  
  DEBUG = True
  BASE_DIR = os.path.dirname(os.path.dirname(__file__))
  SECRET_KEY = 'cookies_are_delicious_delicacies'
  ROOT_URLCONF = 'urls'
  LANGUAGE_CODE = 'en-us'
  TIME_ZONE = 'UTC'
  USE_I18N = True
  USE_L10N = True
  USE_TZ = True
  MIDDLEWARE_CLASSES = ()
  DEFAULT_INDEX_TABLESPACE = ''
  
  # Make sure the copy of seeker in the directory above this one is used.
  sys.path.insert(0, BASE_DIR)
  
  INSTALLED_APPS = (
      'bungiesearch',
      'core',
  )
  
  DATABASES = {
      'default': {
          'ENGINE': 'django.db.backends.sqlite3',
          'NAME': ':memory:',
      }
  }
  
  TEMPLATES = [
      {
          'BACKEND': 'django.template.backends.django.DjangoTemplates',
          'DIRS': [],
          'APP_DIRS': True,
          'OPTIONS': {
              'context_processors': [
                  'django.contrib.auth.context_processors.auth',
                  'django.template.context_processors.debug',
                  'django.template.context_processors.i18n',
                  'django.template.context_processors.media',
                  'django.template.context_processors.static',
                  'django.template.context_processors.tz',
                  'django.contrib.messages.context_processors.messages',
              ],
          },
      },
  ]
  
  BUNGIESEARCH = {
      'URLS': [os.getenv('ELASTIC_SEARCH_URL', 'localhost')],
      'ES_SETTINGS': {
          'http_auth': os.getenv('ELASTIC_SEARCH_AUTH')
      },
      'ALIASES': {
          'bsearch': 'core.search_aliases'
      },
      'INDICES': {
          'bungiesearch_demo': 'core.search_indices',
          'bungiesearch_demo_bis': 'core.search_indices_bis'
      },
      'SIGNALS': {
          'BUFFER_SIZE': 1,
          'SIGNAL_CLASS': 'core.bungie_signal.BungieTestSignalProcessor'
      }
  }
  
subject: Add TEMPLATES variable to tests settings.py. To work on Django 1.10