old_contents: # -*- coding: utf-8 -*-
  import os
  
  from .base import Base as Settings
  
  
  class Testing(Settings):
      # Database Configuration.
      # ------------------------------------------------------------------
      DATABASES = {
          'default': {
              'ENGINE': 'django.db.backends.postgresql_psycopg2',
              'NAME': 'test-base',
          }
      }
  
      # django-haystack.
      # ------------------------------------------------------------------
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
          },
      }
  
new_contents: # -*- coding: utf-8 -*-
  import os
  
  from .base import Base as Settings
  
  
  class Testing(Settings):
      # Database Configuration.
      # ------------------------------------------------------------------
      DATABASES = {
          'default': {
              'ENGINE': 'django.db.backends.postgresql_psycopg2',
              'NAME': 'test-base',
          }
      }
  
      # django-celery.
      # ------------------------------------------------------------------
      Settings.INSTALLED_APPS += ['kombu.transport.django', 'djcelery',]
      BROKER_URL = 'django://'
  
      # django-haystack.
      # ------------------------------------------------------------------
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
          },
      }
  
subject: Fix the Celery configuration under test settings.