behave-framework/features/steps/demo.py

17 lines
259 B
Python
Raw Normal View History

from behave import then, when, given
@given('A sentence')
2020-09-18 12:05:37 +00:00
def step_impl(context):
return True
@when('The sentence is inspected')
2020-09-18 12:05:37 +00:00
def step_impl(context):
return True
@then('The word "the" should be found')
2020-09-18 12:05:37 +00:00
def step_impl(context):
return True