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
2d30c8b0
Commit
2d30c8b0
authored
Oct 28, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a couple pylint violations
parent
37b528b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
cms/djangoapps/contentstore/features/component.py
+5
-1
No files found.
cms/djangoapps/contentstore/features/component.py
View file @
2d30c8b0
#pylint: disable=C0111
#pylint: disable=W0621
# Lettuce formats proposed definitions for unimplemented steps with the
# argument name "step" instead of "_step" and pylint does not like that.
#pylint: disable=W0613
from
lettuce
import
world
,
step
from
nose.tools
import
assert_true
,
assert_in
# pylint: disable=E0611
...
...
@@ -67,7 +71,7 @@ def see_a_multi_step_component(step, category):
def
see_a_problem_component
(
step
,
category
):
component_css
=
'section.xmodule_CapaModule'
assert_true
(
world
.
is_css_present
(
component_css
),
'No problem was added to the unit.'
)
'No problem was added to the unit.'
)
problem_css
=
'li.component section.xblock-student_view'
actual_text
=
world
.
css_text
(
problem_css
)
...
...
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