From 2d30c8b0abf19f8177a3f66f72d6e1bd84f15fda Mon Sep 17 00:00:00 2001 From: Jay Zoldak Date: Mon, 28 Oct 2013 17:21:19 -0400 Subject: [PATCH] Fix a couple pylint violations --- cms/djangoapps/contentstore/features/component.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/features/component.py b/cms/djangoapps/contentstore/features/component.py index 56d977e940..14c9644fab 100644 --- a/cms/djangoapps/contentstore/features/component.py +++ b/cms/djangoapps/contentstore/features/component.py @@ -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)