@step(((STEP_PREFIX + '(?:an? )?([A-Z][a-z0-9_ ]*) should be present ') + 'in the database'))
def models_exist_generic(step, model):
 model = get_model(model)
 try:
  func = _MODEL_EXISTS[model]
 except KeyError:
  func = curry(models_exist, model)
 func(step)

@ step ( ( ( STEP_PREFIX + '(?:an? )?([A-Z][a-z0-9_ ]*) should be present ' ) + 'in the database' ) ) def models_exist_generic ( step , model ) : model = get_model ( model ) try : func = _MODEL_EXISTS [ model ] except KeyError : func = curry ( models_exist , model ) func ( step )
and objectives should be present in the database: | description | | make a mess | .