MCPcopy
hub / github.com/celery/celery / test_get_current_local

Method test_get_current_local

t/unit/utils/test_local.py:52–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

50 assert x.__module__
51
52 def test_get_current_local(self):
53 x = Proxy(lambda: 10)
54 object.__setattr__(x, '_Proxy_local', Mock())
55 assert x._get_current_object()
56
57 def test_bool(self):
58

Callers

nothing calls this directly

Calls 3

_get_current_objectMethod · 0.95
ProxyClass · 0.90
__setattr__Method · 0.45

Tested by

no test coverage detected