old_contents: from oclapi.settings.common import *
  from configurations import values
  
  class Local(Common):
  
      # DEBUG = False
      EMAIL_HOST = "localhost"
      EMAIL_PORT = 1025
      EMAIL_BACKEND = values.Value('django.core.mail.backends.console.EmailBackend')
  
      INSTALLED_APPS = Common.INSTALLED_APPS
      INTERNAL_IPS = ('localhost',)
  
  class Test(Local):
      """
      Settings for unit testing
      """
      DATABASES = {
          'default': {
              'ENGINE': 'django_mongodb_engine',
              'HOST': 'localhost',
              'NAME': 'test',
          }
      }
      HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.BaseSignalProcessor'
  
  class IntegrationTest(Common):
      """
      Settings for unit testing
      """
      DATABASES = {
          'default': {
              'ENGINE': 'django_mongodb_engine',
              'HOST': 'localhost',
              'NAME': 'ocl',
          }
      }
  
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'oclapi.search_backends.OCLSolrEngine',
              'URL': 'http://localhost:8983/solr/collection1'
              # ...or for multicore...
              # 'URL': 'http://127.0.0.1:8983/solr/mysite',
          },
      }
  
      BROKER_URL = 'redis://localhost:6379/0'
      CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
new_contents: from oclapi.settings.common import *
  from configurations import values
  
  class Local(Common):
  
      # DEBUG = False
      EMAIL_HOST = "localhost"
      EMAIL_PORT = 1025
      EMAIL_BACKEND = values.Value('django.core.mail.backends.console.EmailBackend')
  
      INSTALLED_APPS = Common.INSTALLED_APPS
      INTERNAL_IPS = ('localhost',)
  
  class Test(Local):
      """
      Settings for unit testing
      """
      DATABASES = {
          'default': {
              'ENGINE': 'django_mongodb_engine',
              'HOST': 'localhost',
              'NAME': 'test',
          }
      }
      HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.BaseSignalProcessor'
      INSTALLED_APPS = Common.INSTALLED_APPS
  
  class IntegrationTest(Common):
      """
      Settings for unit testing
      """
      DATABASES = {
          'default': {
              'ENGINE': 'django_mongodb_engine',
              'HOST': 'localhost',
              'NAME': 'ocl',
          }
      }
  
      HAYSTACK_CONNECTIONS = {
          'default': {
              'ENGINE': 'oclapi.search_backends.OCLSolrEngine',
              'URL': 'http://localhost:8983/solr/collection1'
              # ...or for multicore...
              # 'URL': 'http://127.0.0.1:8983/solr/mysite',
          },
      }
  
      BROKER_URL = 'redis://localhost:6379/0'
      CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
      INSTALLED_APPS = Common.INSTALLED_APPS
  
subject: fix failing test by including installed apps in test env