refactor: migrate DISABLE_START_DATES off FEATURES-as-dict
Switch the single production reader (courseware/access_utils.py) from settings.FEATURES['DISABLE_START_DATES'] to the flat settings.DISABLE_START_DATES (already defined in openedx/envs/common.py, so bare access works in every process), and convert ~35 test overrides across the courseware, grades, mobile_api, discussion, course_blocks, course_groups, branding and student suites to @override_settings(DISABLE_START_DATES=...). Where a test's FEATURES dict also set an as-yet-unmigrated flag (ENABLE_MKTG_SITE, ENABLE_ENTERPRISE_INTEGRATION, ENABLE_PREREQUISITE_COURSES), only DISABLE_START_DATES is pulled out to @override_settings and the other flag stays on the patch.dict. Also flattens the DISABLE_START_DATES key out of the branding FEATURES_*_STARTDATE copies and the student-dashboard MOCK_SETTINGS patch.multiple dict.
F
Feanil Patel committed
205267f84f07f34b1da8e8657c9c7c2f8fba671a
Parent: 2f405a9