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

Method test_task_accepted

t/integration/test_tasks.py:604–607  ·  view source on GitHub ↗
(self, manager, sleep=1)

Source from the content-addressed store, hash-verified

602 # Requires investigation why it randomly succeeds/fails
603 @pytest.mark.skip(reason="Randomly fails")
604 def test_task_accepted(self, manager, sleep=1):
605 r1 = sleeping.delay(sleep)
606 sleeping.delay(sleep)
607 manager.assert_accepted([r1.id])
608
609 @flaky
610 def test_task_retried_once(self, manager):

Callers

nothing calls this directly

Calls 2

assert_acceptedMethod · 0.80
delayMethod · 0.45

Tested by

no test coverage detected