from testapp.settings import *


ENABLE_SSO = True

MIDDLEWARE_CLASSES += (
    'molo.core.middleware.MoloCASMiddleware',
    'molo.core.middleware.Custom403Middleware',
)


AUTHENTICATION_BACKENDS = (
    'django.contrib.auth.backends.ModelBackend',
    'molo.core.backends.MoloCASBackend',
)

INSTALLED_APPS += (
    'wagtailmedia',
)

CAS_SERVER_URL = 'http://testcasserver'
CAS_ADMIN_PREFIX = '/admin/'
LOGIN_URL = '/accounts/login/'
CAS_VERSION = '3'

UNICORE_DISTRIBUTE_API = 'http://testserver:6543'
CELERY_ALWAYS_EAGER = True

@@ -292,51 +292,8 @@
 %0A)%0A%0A
-INSTALLED_APPS += (%0A    'wagtailmedia',%0A)%0A%0A
 CAS_

remove 'wagtailmedia' from INSTALLED_APPS in local_test_settings.py