MCPcopy
hub / github.com/celery/celery / test_execute_acks_late

Method test_execute_acks_late

t/unit/worker/test_request.py:745–753  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

743 job.execute()
744
745 def test_execute_acks_late(self):
746 self.mytask_raising.acks_late = True
747 job = self.xRequest(
748 name=self.mytask_raising.name,
749 kwargs={},
750 )
751 job.execute()
752 assert job.acknowledged
753 job.execute()
754
755 def test_execute_using_pool_does_not_execute_revoked(self):
756 job = self.xRequest()

Callers

nothing calls this directly

Calls 2

xRequestMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected