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

Method test_execute_acks_late

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

Source from the content-addressed store, hash-verified

1130 job.execute()
1131
1132 def test_execute_acks_late(self):
1133 self.mytask_raising.acks_late = True
1134 job = self.xRequest(
1135 name=self.mytask_raising.name,
1136 kwargs={},
1137 )
1138 job.execute()
1139 assert job.acknowledged
1140 job.execute()
1141
1142 def test_execute_using_pool_does_not_execute_revoked(self):
1143 job = self.xRequest()

Callers

nothing calls this directly

Calls 2

xRequestMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected