@given('a behave model with')
def step_given_a_behave_model_with_table(context):
 assert context.table, 'REQUIRE: context.table'
 context.table.require_columns(BehaveModelBuilder.REQUIRED_COLUMNS)
 model_builder = BehaveModelBuilder()
 context.behave_model = model_builder.build_model_from_table(context.table)

@ given ( 'a behave model with' ) def step_given_a_behave_model_with_table ( context ) : assert context . table , 'REQUIRE: context.table' context . table . require_columns ( BehaveModelBuilder . REQUIRED_COLUMNS ) model_builder = BehaveModelBuilder ( ) context . behave_model = model_builder . build_model_from_table ( context . table )
build a behave feature model from a tabular description .