MCPcopy
hub / github.com/celery/celery / test_link_error

Method test_link_error

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

Source from the content-addressed store, hash-verified

184 assert len(x.options['link']) == 1
185
186 def test_link_error(self):
187 x = signature(SIG)
188 x.link_error(SIG)
189 x.link_error(SIG)
190 assert SIG in x.options['link_error']
191 assert len(x.options['link_error']) == 1
192
193 def test_flatten_links(self):
194 tasks = [self.add.s(2, 2), self.mul.s(4), self.div.s(2)]

Callers

nothing calls this directly

Calls 2

signatureFunction · 0.90
link_errorMethod · 0.45

Tested by

no test coverage detected