Remove course bypass_home setting and references

This commit is contained in:
Bill Currie
2020-07-22 00:03:28 +09:00
committed by Agrendalath
parent cb1635a60c
commit 6edd28c73c
4 changed files with 0 additions and 39 deletions

View File

@@ -958,17 +958,6 @@ class CourseFields(object):
scope=Scope.settings
)
bypass_home = Boolean(
display_name=_("Bypass Course Home"),
help=_(
"Bypass the course home tab when students arrive from the dashboard, "
"sending them directly to course content."
),
default=False,
scope=Scope.settings,
deprecated=True
)
enable_subsection_gating = Boolean(
display_name=_("Enable Subsection Prerequisites"),
help=_(

View File

@@ -375,17 +375,6 @@ class SelfPacedTestCase(unittest.TestCase):
self.assertFalse(self.course.self_paced)
class BypassHomeTestCase(unittest.TestCase):
"""Tests for setting which allows course home to be bypassed."""
def setUp(self):
super(BypassHomeTestCase, self).setUp()
self.course = get_dummy_course('2012-12-02T12:00')
def test_default(self):
self.assertFalse(self.course.bypass_home)
class CourseDescriptorTestCase(unittest.TestCase):
"""
Tests for a select few functions from CourseDescriptor.