MCPcopy
hub / github.com/celery/celery / test_start

Method test_start

t/unit/apps/test_multi.py:345–350  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

343 assert self.cluster[0].name == 'foo@example.com'
344
345 def test_start(self):
346 self.cluster.start_node = Mock(name='start_node')
347 self.cluster.start()
348 self.cluster.start_node.assert_has_calls(
349 call(node) for node in self.cluster
350 )
351
352 def test_start_node(self):
353 self.cluster._start_node = Mock(name='_start_node')

Callers

nothing calls this directly

Calls 2

callFunction · 0.85
startMethod · 0.45

Tested by

no test coverage detected