Merge pull request #10509 from edx/peter-fogg/course-pacing-label-changes
Course pacing template changes.
This commit is contained in:
@@ -151,7 +151,7 @@ class SettingsPage(CoursePage):
|
||||
@course_pacing.setter
|
||||
def course_pacing(self, pacing):
|
||||
"""
|
||||
Sets the course to either self-paced or instructor-led by checking
|
||||
Sets the course to either self-paced or instructor-paced by checking
|
||||
the appropriate radio button.
|
||||
"""
|
||||
self.wait_for_element_presence(self.checked_pacing_css, 'course pacing controls present')
|
||||
|
||||
@@ -209,11 +209,11 @@ class CoursePacingTest(StudioSettingsDetailsTest):
|
||||
# Set the course start date to tomorrow in order to allow setting pacing
|
||||
self.course_fixture.add_course_details({'start_date': datetime.now() + timedelta(days=1)})
|
||||
|
||||
def test_default_instructor_led(self):
|
||||
def test_default_instructor_paced(self):
|
||||
"""
|
||||
Test that the 'instructor led' button is checked by default.
|
||||
Test that the 'instructor paced' button is checked by default.
|
||||
"""
|
||||
self.assertEqual(self.settings_detail.course_pacing, 'Instructor-Led')
|
||||
self.assertEqual(self.settings_detail.course_pacing, 'Instructor-Paced')
|
||||
|
||||
def test_self_paced(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user