MCPcopy Create free account
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/app/test_control.py:234–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232class test_Control:
233
234 def setup_method(self):
235 self.app.control.broadcast = Mock(name='broadcast')
236 self.app.control.broadcast.return_value = {}
237
238 @self.app.task(shared=False)
239 def mytask():
240 pass
241 self.mytask = mytask
242
243 def assert_control_called_with_args(self, name, destination=None,
244 _options=None, **args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected