MCPcopy
hub / github.com/celery/celery / test_merge_immutable

Method test_merge_immutable

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

Source from the content-addressed store, hash-verified

224 x.apply_async.assert_called()
225
226 def test_merge_immutable(self):
227 x = self.add.si(2, 2, foo=1)
228 args, kwargs, options = x._merge((4,), {'bar': 2}, {'task_id': 3})
229 assert args == (2, 2)
230 assert kwargs == {'foo': 1}
231 assert options == {'task_id': 3}
232
233 def test_merge_options__none(self):
234 sig = self.add.si()

Callers

nothing calls this directly

Calls 2

siMethod · 0.80
_mergeMethod · 0.80

Tested by

no test coverage detected