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

Method test_start

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

Source from the content-addressed store, hash-verified

388 self.node.send.assert_called_with(0)
389
390 def test_start(self):
391 self.node._waitexec = Mock(name='_waitexec')
392 self.node.start(env={'foo': 'bar'}, kw=2)
393 self.node._waitexec.assert_called_with(
394 self.node.argv, path=self.node.executable,
395 env={'foo': 'bar'}, kw=2,
396 )
397
398 @patch('celery.apps.multi.Popen')
399 def test_waitexec(self, Popen, argv=['A', 'B']):

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected