Lines Matching refs:wraps
37 from functools import wraps, partial
437 self, spec=None, wraps=None, name=None, spec_set=None,
460 __dict__['_mock_wraps'] = wraps
476 spec, wraps, name, spec_set, parent,
667 wraps = None
671 wraps = getattr(self._mock_wraps, name)
674 parent=self, name=name, wraps=wraps, _new_name=name,
1103 wraps=None, name=None, spec_set=None, parent=None,
1107 spec, wraps, name, spec_set, parent,
1242 * `wraps`: Item for the mock object to wrap. If `wraps` is not None then
1245 Mock object that wraps the corresponding attribute of the wrapped object
1370 @wraps(func)
1387 @wraps(func)
1824 @wraps(f)
1836 @wraps(f)
2421 The test author can also specify a wrapped object with ``wraps``. In this