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

Method test_handle_process_exit__failure

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

Source from the content-addressed store, hash-verified

424 assert self.node.handle_process_exit(0) == 0
425
426 def test_handle_process_exit__failure(self):
427 on_failure = Mock(name='on_failure')
428 assert self.node.handle_process_exit(9, on_failure=on_failure) == 9
429 on_failure.assert_called_with(self.node, 9)
430
431 def test_handle_process_exit__signalled(self):
432 on_signalled = Mock(name='on_signalled')

Callers

nothing calls this directly

Calls 1

handle_process_exitMethod · 0.80

Tested by

no test coverage detected