diff --git a/common/test/acceptance/tests/lms/test_lms_help.py b/common/test/acceptance/tests/lms/test_lms_help.py index 13b84a12aa..0609f75b84 100644 --- a/common/test/acceptance/tests/lms/test_lms_help.py +++ b/common/test/acceptance/tests/lms/test_lms_help.py @@ -28,16 +28,6 @@ class TestCohortHelp(ContainerBase): self.instructor_dashboard_page.visit() self.cohort_management = self.instructor_dashboard_page.select_cohort_management() - def get_url_with_changed_domain(self, url): - """ - Replaces .org with .io in the url - Arguments: - url (str): The url to perform replace operation on. - Returns: - str: The updated url - """ - return url.replace('.org/', '.io/') - def verify_help_link(self, href): """ Verifies that help link is correct @@ -51,7 +41,7 @@ class TestCohortHelp(ContainerBase): actual_link = self.cohort_management.get_cohort_help_element_and_click_help() assert_link(self, expected_link, actual_link) - assert_opened_help_link_is_correct(self, self.get_url_with_changed_domain(href)) + assert_opened_help_link_is_correct(self, href) def test_manual_cohort_help(self): """ @@ -68,7 +58,7 @@ class TestCohortHelp(ContainerBase): self.cohort_management.add_cohort('cohort_name') href = ( - 'http://edx.readthedocs.org/projects/edx-partner-course-staff/en/{}/' + 'http://edx.readthedocs.io/projects/edx-partner-course-staff/en/{}/' 'course_features/cohorts/cohort_config.html#assign-learners-to-cohorts-manually' ).format(doc_version()) @@ -90,7 +80,7 @@ class TestCohortHelp(ContainerBase): self.cohort_management.add_cohort('cohort_name', assignment_type='random') href = ( - 'http://edx.readthedocs.org/projects/edx-partner-course-staff/en/{}/' + 'http://edx.readthedocs.io/projects/edx-partner-course-staff/en/{}/' 'course_features/cohorts/cohorts_overview.html#all-automated-assignment' ).format(doc_version()) diff --git a/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore b/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore index 7329c3783f..8db5453ba0 100644 --- a/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore +++ b/lms/templates/instructor/instructor_dashboard_2/cohort-group-header.underscore @@ -12,10 +12,10 @@
<% if (cohort.get('assignment_type') == "manual") { %> <%- gettext("Learners are added to this cohort only when you provide their email addresses or usernames on this page.") %> - <%- gettext("What does this mean?") %> + <%- gettext("What does this mean?") %> <% } else { %> <%- gettext("Learners are added to this cohort automatically.") %> - <%- gettext("What does this mean?") %> + <%- gettext("What does this mean?") %> <% } %>