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

Method test_stop_pidbox_node

t/unit/worker/test_worker.py:665–671  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

663 connect.assert_called_with()
664
665 def test_stop_pidbox_node(self):
666 c = self.NoopConsumer()
667 cont = find_step(c, consumer.Control)
668 cont._node_stopped = Event()
669 cont._node_shutdown = Event()
670 cont._node_stopped.set()
671 cont.stop(c)
672
673 def test_start__loop(self):
674

Callers

nothing calls this directly

Calls 5

NoopConsumerMethod · 0.95
find_stepFunction · 0.85
EventFunction · 0.85
setMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected