Home | History | Annotate | Download | only in pymock

Lines Matching defs:wraps

47     from functools import wraps as original_wraps
50 def wraps(original):
60 wraps = original_wraps
62 def wraps(func):
478 self, spec=None, wraps=None, name=None, spec_set=None,
498 __dict__['_mock_wraps'] = wraps
513 spec, wraps, name, spec_set, parent,
666 wraps = None
670 wraps = getattr(self._mock_wraps, name)
673 parent=self, name=name, wraps=wraps, _new_name=name,
934 wraps=None, name=None, spec_set=None, parent=None,
939 spec, wraps, name, spec_set, parent,
1067 * `wraps`: Item for the mock object to wrap. If `wraps` is not None then
1070 Mock object that wraps the corresponding attribute of the wrapped object
1181 @wraps(func)
1614 @wraps(f)