@with_setup(step_runner_environ)
def test_skipped_steps_can_be_retrieved_as_steps():
 f = Feature.from_string(FEATURE1)
 feature_result = f.run()
 scenario_result = feature_result.scenario_results[0]
 for step in scenario_result.steps_skipped:
  assert_equals(type(step), Step)

@ with_setup ( step_runner_environ ) def test_skipped_steps_can_be_retrieved_as_steps ( ) : f = Feature . from_string ( FEATURE1 ) feature_result = f . run ( ) scenario_result = feature_result . scenario_results [ 0 ] for step in scenario_result . steps_skipped : assert_equals ( type ( step ) , Step )
skipped steps can be retrieved as steps .