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

Method test_apply_async

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

Source from the content-addressed store, hash-verified

1631 mock_get_event_loop.assert_called_once()
1632
1633 def test_apply_async(self):
1634 pool = TaskPool(10)
1635 pool.start()
1636 pool.apply_async(lambda x: x, (2,), {})
1637
1638 def test_grow_shrink(self):
1639 pool = TaskPool(10)

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
apply_asyncMethod · 0.95
TaskPoolClass · 0.70

Tested by

no test coverage detected