MCPcopy
hub / github.com/celery/celery / test_kill

Method test_kill

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

Source from the content-addressed store, hash-verified

384
385 @t.skip.if_win32
386 def test_kill(self):
387 self.cluster.send_all = Mock(name='.send_all')
388 self.cluster.kill()
389 self.cluster.send_all.assert_called_with(signal.SIGKILL)
390
391 def test_getpids(self):
392 self.gethostname.return_value = 'e.com'

Callers

nothing calls this directly

Calls 1

killMethod · 0.45

Tested by

no test coverage detected