178 """Internal decorator used for defining clauses of different types."""
179 def func_wrapper(func):
180 @functools.wraps(func)
181 def wrapper(self, *args, **kwargs):
182 func(self, *args, **kwargs)
184 setattr(_BDDContext, clauseType +
'_' + func.__name__, wrapper)