Commit 5342fa27 by Jonathan Piacenti Committed by E. Kolpakov

Quality fixes.

parent 91469f90
...@@ -33,6 +33,7 @@ def i_create_a_course(step): ...@@ -33,6 +33,7 @@ def i_create_a_course(step):
create_a_course() create_a_course()
# pylint disable=unused-argument, invalid-name
@step('I click the course link in Studio Home$') @step('I click the course link in Studio Home$')
def i_click_the_course_link_in_studio_home(step): def i_click_the_course_link_in_studio_home(step):
course_css = 'a.course-link' course_css = 'a.course-link'
...@@ -53,6 +54,7 @@ def courseware_page_has_loaded_in_studio(step): ...@@ -53,6 +54,7 @@ def courseware_page_has_loaded_in_studio(step):
@step('I see the course listed in Studio Home$') @step('I see the course listed in Studio Home$')
# pylint disable=unused-argument
def i_see_the_course_in_studio_home(step): def i_see_the_course_in_studio_home(step):
course_css = 'h3.class-title' course_css = 'h3.class-title'
assert world.css_has_text(course_css, world.scenario_dict['COURSE'].display_name) assert world.css_has_text(course_css, world.scenario_dict['COURSE'].display_name)
......
...@@ -48,6 +48,7 @@ REQUIREJS_WAIT = { ...@@ -48,6 +48,7 @@ REQUIREJS_WAIT = {
"js/base", "js/models/course", "js/models/location", "js/models/section"], "js/base", "js/models/course", "js/models/location", "js/models/section"],
# Dashboard # Dashboard
# pylint disable=anomalous-backslash-in-string
re.compile('^Studio Home \|'): [ re.compile('^Studio Home \|'): [
"js/sock", "gettext", "js/base", "js/sock", "gettext", "js/base",
"jquery.ui", "coffee/src/main", "underscore"], "jquery.ui", "coffee/src/main", "underscore"],
......
...@@ -250,4 +250,3 @@ class TestLibraries(MixedSplitTestCase): ...@@ -250,4 +250,3 @@ class TestLibraries(MixedSplitTestCase):
non_editable_metadata_fields = self.lc_block.non_editable_metadata_fields non_editable_metadata_fields = self.lc_block.non_editable_metadata_fields
self.assertIn(LibraryContentDescriptor.mode, non_editable_metadata_fields) self.assertIn(LibraryContentDescriptor.mode, non_editable_metadata_fields)
self.assertNotIn(LibraryContentDescriptor.display_name, non_editable_metadata_fields) self.assertNotIn(LibraryContentDescriptor.display_name, non_editable_metadata_fields)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment