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

Method test_replace_apply

t/unit/tasks/test_tasks.py:1570–1573  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1568 assert isinstance(res, AsyncResult)
1569
1570 def test_replace_apply(self):
1571 res = self.task_replaced_by_other_task.apply()
1572 assert isinstance(res, EagerResult)
1573 assert res.get() == "replaced"
1574
1575 def test_add_trail__no_trail(self):
1576 mytask = self.increment_counter._get_current_object()

Callers

nothing calls this directly

Calls 2

applyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected