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

Method setup_method

t/unit/worker/test_components.py:25–28  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23class test_Hub:
24
25 def setup_method(self):
26 self.w = Mock(name='w')
27 self.hub = Hub(self.w)
28 self.w.hub = Mock(name='w.hub')
29
30 @patch('celery.worker.components.set_event_loop')
31 @patch('celery.worker.components.get_event_loop')

Callers

nothing calls this directly

Calls 1

HubClass · 0.90

Tested by

no test coverage detected