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

Method loop_side_effect

t/unit/worker/test_worker.py:297–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295
296 def test_start_channel_error(self):
297 def loop_side_effect():
298 yield KeyError('foo')
299 yield SyntaxError('bar')
300
301 c = self.NoopConsumer(task_events=False, pool=BasePool())
302 c.loop.side_effect = loop_side_effect()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected