Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
de7bba51
Commit
de7bba51
authored
11 years ago
by
Jay Zoldak
Browse files
Options
Downloads
Plain Diff
Merge pull request #1526 from edx/zoldak/fix-pylint
Fix a couple pylint violations
parents
37b528b3
2d30c8b0
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cms/djangoapps/contentstore/features/component.py
+5
-1
5 additions, 1 deletion
cms/djangoapps/contentstore/features/component.py
with
5 additions
and
1 deletion
cms/djangoapps/contentstore/features/component.py
+
5
−
1
View file @
de7bba51
#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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment