diff --git a/common/djangoapps/student/views.py b/common/djangoapps/student/views.py index 365edc47a4..73ea0c7311 100644 --- a/common/djangoapps/student/views.py +++ b/common/djangoapps/student/views.py @@ -1085,9 +1085,9 @@ def login_user(request, error=""): # pylint: disable=too-many-statements,unused platform_name=settings.PLATFORM_NAME, provider_name=requested_provider.name ) + "

" + - _("If you don't have an {platform_name} account yet, click Register Now at the top of the page.").format( - platform_name=settings.PLATFORM_NAME - ), + _("If you don't have an {platform_name} account yet, " + "click Register at the top of the page.").format( + platform_name=settings.PLATFORM_NAME), content_type="text/plain", status=403 ) diff --git a/common/djangoapps/terrain/steps.py b/common/djangoapps/terrain/steps.py index fca0b6307d..7006c42389 100644 --- a/common/djangoapps/terrain/steps.py +++ b/common/djangoapps/terrain/steps.py @@ -65,7 +65,7 @@ def i_should_be_on_the_dashboard(step): @step(u'I (?:visit|access|open) the courses page$') def i_am_on_the_courses_page(step): world.visit('/courses') - assert world.is_css_present('section.courses') + assert world.is_css_present('div.courses') @step(u'I press the "([^"]*)" button$') diff --git a/lms/djangoapps/branding/tests/test_page.py b/lms/djangoapps/branding/tests/test_page.py index ac4357e4f0..4b3c725a8c 100644 --- a/lms/djangoapps/branding/tests/test_page.py +++ b/lms/djangoapps/branding/tests/test_page.py @@ -220,7 +220,7 @@ class IndexPageCourseCardsSortingTests(ModuleStoreTestCase): self.assertNotIn('