fix errorenous logic when running a microsite that could reside in a hosting environment with a marketing site in front of it pep8/pylint fixes address PR feedback, remove underscore from test hostname more pep8/pylint cleanup. Skip test_microsites test, it works on localdev, not on Jenkins. Need to talk with QA team manually add Ned's single-to-double quote fix change aws.py runtimes so that the microsite_dir that is read from configuration is changed to a python path Conflicts: lms/templates/help_modal.html
16 lines
517 B
Python
16 lines
517 B
Python
"""
|
|
This is a localdev test for the Microsite processing pipeline
|
|
"""
|
|
# We intentionally define lots of variables that aren't used, and
|
|
# want to import all variables from base settings files
|
|
# pylint: disable=W0401, W0614
|
|
|
|
from .dev import *
|
|
from .dev import SUBDOMAIN_BRANDING, VIRTUAL_UNIVERSITIES
|
|
|
|
MICROSITE_NAMES = ['openedx']
|
|
MICROSITE_CONFIGURATION = {}
|
|
|
|
if MICROSITE_NAMES and len(MICROSITE_NAMES) > 0:
|
|
enable_microsites(MICROSITE_NAMES, MICROSITE_CONFIGURATION, SUBDOMAIN_BRANDING, VIRTUAL_UNIVERSITIES)
|