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

Method setup_method

t/unit/worker/test_loops.py:140–144  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138class test_asynloop:
139
140 def setup_method(self):
141 @self.app.task(shared=False)
142 def add(x, y):
143 return x + y
144 self.add = add
145
146 def test_drain_after_consume(self):
147 x, _ = get_task_callback(self.app, transport_driver_type='amqp')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected