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

Method test_start

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

Source from the content-addressed store, hash-verified

228 self.node.send.assert_called_with(0)
229
230 def test_start(self):
231 self.node._waitexec = Mock(name='_waitexec')
232 self.node.start(env={'foo': 'bar'}, kw=2)
233 self.node._waitexec.assert_called_with(
234 self.node.argv, path=self.node.executable,
235 env={'foo': 'bar'}, kw=2,
236 )
237
238 @patch('celery.apps.multi.Popen')
239 def test_waitexec(self, Popen, argv=['A', 'B']):

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected