MCPcopy
hub / github.com/celery/celery / test_apply

Method test_apply

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

Source from the content-addressed store, hash-verified

899 assert _maybe_group(self.add.s(2, 2), self.app) == [self.add.s(2, 2)]
900
901 def test_apply(self):
902 x = group([self.add.s(4, 4), self.add.s(8, 8)])
903 res = x.apply()
904 assert res.get(), [8 == 16]
905
906 def test_apply_async(self):
907 x = group([self.add.s(4, 4), self.add.s(8, 8)])

Callers

nothing calls this directly

Calls 4

groupClass · 0.90
sMethod · 0.45
applyMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected