Merge pull request #12939 from edx/sstudent/TNL-4924

moving milestones/gating check to access.py
This commit is contained in:
sanfordstudent
2016-07-11 16:21:53 -04:00
committed by GitHub
7 changed files with 39 additions and 40 deletions

View File

@@ -1112,6 +1112,7 @@ class TestGatedSubsectionRendering(SharedModuleStoreTestCase, MilestonesTestCase
return None
@patch.dict(settings.FEATURES, {'MILESTONES_APP': True})
def test_toc_with_gated_sequential(self):
"""
Test generation of TOC for a course with a gated subsection