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

Method test_num_processes

t/unit/concurrency/test_prefork.py:1665–1668  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1663 assert info['timeouts'] == (5, 10)
1664
1665 def test_num_processes(self):
1666 pool = TaskPool(7)
1667 pool.start()
1668 assert pool.num_processes == 7
1669
1670 @patch('billiard.forking_enable')
1671 def test_on_start_proc_alive_timeout_default(self, __forking_enable):

Callers

nothing calls this directly

Calls 2

startMethod · 0.95
TaskPoolClass · 0.70

Tested by

no test coverage detected