MCPcopy
hub / github.com/celery/celery / test_single_expresion

Method test_single_expresion

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

Source from the content-addressed store, hash-verified

715 assert res == 20
716
717 def test_single_expresion(self):
718 x = chain(self.add.s(1, 2)).apply()
719 assert x.get() == 3
720 assert x.parent is None
721
722 def test_empty_chain_returns_none(self):
723 assert chain(app=self.app)() is None

Callers

nothing calls this directly

Calls 4

chainClass · 0.90
applyMethod · 0.45
sMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected