Quality fixes.
This commit is contained in:
committed by
E. Kolpakov
parent
91469f902f
commit
5342fa27b9
@@ -33,6 +33,7 @@ def i_create_a_course(step):
|
||||
create_a_course()
|
||||
|
||||
|
||||
# pylint disable=unused-argument, invalid-name
|
||||
@step('I click the course link in Studio Home$')
|
||||
def i_click_the_course_link_in_studio_home(step):
|
||||
course_css = 'a.course-link'
|
||||
@@ -53,6 +54,7 @@ def courseware_page_has_loaded_in_studio(step):
|
||||
|
||||
|
||||
@step('I see the course listed in Studio Home$')
|
||||
# pylint disable=unused-argument
|
||||
def i_see_the_course_in_studio_home(step):
|
||||
course_css = 'h3.class-title'
|
||||
assert world.css_has_text(course_css, world.scenario_dict['COURSE'].display_name)
|
||||
|
||||
@@ -48,6 +48,7 @@ REQUIREJS_WAIT = {
|
||||
"js/base", "js/models/course", "js/models/location", "js/models/section"],
|
||||
|
||||
# Dashboard
|
||||
# pylint disable=anomalous-backslash-in-string
|
||||
re.compile('^Studio Home \|'): [
|
||||
"js/sock", "gettext", "js/base",
|
||||
"jquery.ui", "coffee/src/main", "underscore"],
|
||||
|
||||
@@ -250,4 +250,3 @@ class TestLibraries(MixedSplitTestCase):
|
||||
non_editable_metadata_fields = self.lc_block.non_editable_metadata_fields
|
||||
self.assertIn(LibraryContentDescriptor.mode, non_editable_metadata_fields)
|
||||
self.assertNotIn(LibraryContentDescriptor.display_name, non_editable_metadata_fields)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user