MCPcopy
hub / github.com/celery/celery / test_call_no_tasks

Method test_call_no_tasks

t/unit/tasks/test_canvas.py:726–728  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

724 assert chain(app=self.app).apply_async() is None
725
726 def test_call_no_tasks(self):
727 x = chain()
728 assert not x()
729
730 def test_call_with_tasks(self):
731 x = self.add.s(2, 2) | self.add.s(4)

Callers

nothing calls this directly

Calls 2

chainClass · 0.90
xFunction · 0.85

Tested by

no test coverage detected