acceptance.py 1005 Bytes
Newer Older
1 2 3 4 5
"""
This config file is a copy of dev environment without the Debug
Toolbar. I it suitable to run against acceptance tests.

"""
6 7 8

# We intentionally define lots of variables that aren't used, and
# want to import all variables from base settings files
9
# pylint: disable=wildcard-import, unused-wildcard-import, undefined-variable
10

11 12 13 14 15 16 17
from .dev import *

#  REMOVE DEBUG TOOLBAR

INSTALLED_APPS = tuple(e for e in INSTALLED_APPS if e != 'debug_toolbar')
INSTALLED_APPS = tuple(e for e in INSTALLED_APPS if e != 'debug_toolbar_mongo')

18
MIDDLEWARE_CLASSES = tuple(e for e in MIDDLEWARE_CLASSES  # pylint: disable=used-before-assignment
19 20 21 22
                           if e != 'debug_toolbar.middleware.DebugToolbarMiddleware')


########################### LETTUCE TESTING ##########################
23
FEATURES['DISPLAY_TOY_COURSES'] = True
24 25 26 27 28

INSTALLED_APPS += ('lettuce.django',)
# INSTALLED_APPS += ('portal',)

LETTUCE_APPS = ('portal',)  # dummy app covers the home page, login, registration, and course enrollment