Remove course bypass_home setting and references
This commit is contained in:
@@ -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=_(
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user