@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:
    """
    {undefined_step_snippet}
    """
    '''.format(undefined_step_snippet=text_indent(undefined_step_snippet, 4)))
Checks if an undefined-step snippet is provided for a step
dataset/ETHPy150Open behave/behave/features/steps/behave_undefined_steps.py/step_undefined_step_snippet_should_exist_for