MCPcopy
hub / github.com/celery/celery / test_eager_chain_inside_task

Method test_eager_chain_inside_task

t/integration/test_canvas.py:241–249  ·  view source on GitHub ↗
(self, manager)

Source from the content-addressed store, hash-verified

239
240 @flaky
241 def test_eager_chain_inside_task(self, manager):
242 from .tasks import chain_add
243
244 prev = chain_add.app.conf.task_always_eager
245 chain_add.app.conf.task_always_eager = True
246
247 chain_add.apply_async(args=(4, 8), throw=True).get()
248
249 chain_add.app.conf.task_always_eager = prev
250
251 @flaky
252 def test_group_chord_group_chain(self, manager):

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
apply_asyncMethod · 0.45

Tested by

no test coverage detected