181 """Internal decorator used for defining clauses of different types."""
183 def func_wrapper(func):
184 @functools.wraps(func)
185 def wrapper(self, *args, **kwargs):
186 func(self, *args, **kwargs)
189 setattr(_BDDContext, clauseType +
"_" + func.__name__, wrapper)