MCPcopy Create free account
hub / github.com/celery/celery / object

Method object

t/unit/conftest.py:591–594  ·  view source on GitHub ↗
(self, target, attribute, *args, **kwargs)

Source from the content-addressed store, hash-verified

589 return value
590
591 def object(self, target, attribute, *args, **kwargs):
592 return _wrap_context(
593 patch.object(target, attribute, *args, **kwargs),
594 self.request)
595
596 def _value_or_mock(self, value, new, name, path, **kwargs):
597 if value is SENTINEL:

Calls 1

_wrap_contextFunction · 0.85

Tested by

no test coverage detected