MCPcopy
hub / github.com/celery/celery / assert_control_called_with_args

Method assert_control_called_with_args

t/unit/app/test_control.py:243–246  ·  view source on GitHub ↗
(self, name, destination=None,
                                        _options=None, **args)

Source from the content-addressed store, hash-verified

241 self.mytask = mytask
242
243 def assert_control_called_with_args(self, name, destination=None,
244 _options=None, **args):
245 self.app.control.broadcast.assert_called_with(
246 name, destination=destination, arguments=args, **_options or {})
247
248 def test_serializer(self):
249 self.app.conf['task_serializer'] = 'test'

Calls

no outgoing calls

Tested by

no test coverage detected