Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cms/djangoapps/contentstore/features/component.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#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

Expand Down Expand Up @@ -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)
Expand Down