MCPcopy
hub / github.com/celery/celery / test_reduce_direct

Method test_reduce_direct

t/unit/tasks/test_result.py:133–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131
132 @pytest.mark.usefixtures('depends_on_current_app')
133 def test_reduce_direct(self):
134 x = AsyncResult('1', app=self.app)
135 fun, args = x.__reduce__()
136 assert fun(*args) == x
137
138 def test_children(self):
139 x = self.app.AsyncResult('1')

Callers

nothing calls this directly

Calls 3

__reduce__Method · 0.95
AsyncResultClass · 0.90
funFunction · 0.85

Tested by

no test coverage detected