def test_app_discovery_finds_catcomments(): assert "powerapp.contrib.catcomments" in app_discovery()
SECURE_PROXY_SSL_HEADER = env('SECURE_PROXY_SSL_HEADER') # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_statsd', 'djcelery', 'powerapp.core', 'powerapp.sync_bridge', 'raven.contrib.django.raven_compat', ] + app_discovery() MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django_statsd.middleware.GraphiteMiddleware', 'powerapp.core.logging_utils.RequestContextMiddleware', 'powerapp.core.statsd_middleware.GrafanaRequestTimingMiddleware', )
def test_app_discovery_finds_catcomments(): assert 'powerapp.contrib.catcomments' in app_discovery()