@with_setup(step_runner_environ)
def test_doesnt_ignore_case():
 f = Feature.from_string(FEATURE3)
 feature_result = f.run(ignore_case=False)
 scenario_result = feature_result.scenario_results[0]
 assert_equals(len(scenario_result.steps_passed), 1)
 assert_equals(len(scenario_result.steps_undefined), 2)
 assert_equals(scenario_result.total_steps, 3)
 assert (not all([s.has_definition for s in scenario_result.scenario.steps]))

@ with_setup ( step_runner_environ ) def test_doesnt_ignore_case ( ) : f = Feature . from_string ( FEATURE3 ) feature_result = f . run ( ignore_case = False ) scenario_result = feature_result . scenario_results [ 0 ] assert_equals ( len ( scenario_result . steps_passed ) , 1 ) assert_equals ( len ( scenario_result . steps_undefined ) , 2 ) assert_equals ( scenario_result . total_steps , 3 ) assert ( not all ( [ s . has_definition for s in scenario_result . scenario . steps ] ) )
lettuce can .