@then(u'an undefined-step snippet should exist for "{step}"')
def step_undefined_step_snippet_should_exist_for(context, step):
 undefined_step_snippet = make_undefined_step_snippet(step)
 context.execute_steps(u'Then the command output should contain:\n    """\n    {undefined_step_snippet}\n    """\n    '.format(undefined_step_snippet=text_indent(undefined_step_snippet, 4)))

@ then ( u'an undefined-step snippet should exist for "{step}"' ) def step_undefined_step_snippet_should_exist_for ( context , step ) : undefined_step_snippet = make_undefined_step_snippet ( step ) context . execute_steps ( u'Then the command output should contain:\n    """\n    {undefined_step_snippet}\n    """\n    ' . format ( undefined_step_snippet = text_indent ( undefined_step_snippet , 4 ) ) )
checks if an undefined-step snippet is provided for a step in behave command output .