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

Method setup_method

t/unit/worker/test_request.py:2376–2380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2374class test_create_request_class(RequestCase):
2375
2376 def setup_method(self):
2377 self.task = Mock(name='task')
2378 self.pool = Mock(name='pool')
2379 self.eventer = Mock(name='eventer')
2380 super().setup_method()
2381
2382 def create_request_cls(self, **kwargs):
2383 return create_request_cls(

Callers

nothing calls this directly

Calls 1

setup_methodMethod · 0.45

Tested by

no test coverage detected