Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5342fa27
Commit
5342fa27
authored
Jan 07, 2015
by
Jonathan Piacenti
Committed by
E. Kolpakov
Jan 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quality fixes.
parent
91469f90
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
cms/djangoapps/contentstore/features/courses.py
+2
-0
common/djangoapps/terrain/ui_helpers.py
+1
-0
common/lib/xmodule/xmodule/tests/test_library_content.py
+0
-1
No files found.
cms/djangoapps/contentstore/features/courses.py
View file @
5342fa27
...
@@ -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
)
...
...
common/djangoapps/terrain/ui_helpers.py
View file @
5342fa27
...
@@ -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"
],
...
...
common/lib/xmodule/xmodule/tests/test_library_content.py
View file @
5342fa27
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment