Fix a couple pylint violations

This commit is contained in:
Jay Zoldak
2013-10-28 17:21:19 -04:00
parent 37b528b39e
commit 2d30c8b0ab

View File

@@ -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
@@ -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)