MCPcopy
hub / github.com/celery/celery / object

Method object

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

Source from the content-addressed store, hash-verified

568 return value
569
570 def object(self, target, attribute, *args, **kwargs):
571 return _wrap_context(
572 patch.object(target, attribute, *args, **kwargs),
573 self.request)
574
575 def _value_or_mock(self, value, new, name, path, **kwargs):
576 if value is SENTINEL:

Calls 1

_wrap_contextFunction · 0.85

Tested by

no test coverage detected