From b741ce786b9f567431fc7352b524172d3ed8f79a Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Tue, 16 Jun 2015 16:22:56 -0400 Subject: [PATCH] fix python unit tests --- common/djangoapps/terrain/steps.py | 2 +- lms/djangoapps/branding/tests/test_page.py | 6 +++--- lms/static/js/discovery/result_list_view.js | 2 +- lms/templates/courseware/courses.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common/djangoapps/terrain/steps.py b/common/djangoapps/terrain/steps.py index 616991c58d..b44cc2d030 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('