MCPcopy
hub / github.com/celery/celery / test_call

Method test_call

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

Source from the content-addressed store, hash-verified

138 assert SIG.subtask_type == ''
139
140 def test_call(self):
141 x = Signature('foo', (1, 2), {'arg1': 33}, app=self.app)
142 x.type = Mock(name='type')
143 x(3, 4, arg2=66)
144 x.type.assert_called_with(3, 4, 1, 2, arg1=33, arg2=66)
145
146 def test_link_on_scalar(self):
147 x = Signature('TASK', link=Signature('B'))

Callers

nothing calls this directly

Calls 2

SignatureClass · 0.90
xFunction · 0.85

Tested by

no test coverage detected