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

@ with_setup ( step_runner_environ ) def test_ignore_case_on_step_definitions ( ) : f = Feature . from_string ( FEATURE3 ) feature_result = f . run ( ) scenario_result = feature_result . scenario_results [ 0 ] assert_equals ( len ( scenario_result . steps_passed ) , 3 ) assert_equals ( scenario_result . total_steps , 3 ) assert all ( [ s . has_definition for s in scenario_result . scenario . steps ] )
by default lettuce ignore case on step definitions .