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

Method test_delay_on_commit

t/unit/contrib/django/test_task.py:26–28  ·  view source on GitHub ↗
(self, task_instance, on_commit)

Source from the content-addressed store, hash-verified

24 yield patched_on_commit
25
26 def test_delay_on_commit(self, task_instance, on_commit):
27 result = task_instance.delay_on_commit()
28 assert result is None
29
30 def test_apply_async_on_commit(self, task_instance, on_commit):
31 result = task_instance.apply_async_on_commit()

Callers

nothing calls this directly

Calls 1

delay_on_commitMethod · 0.80

Tested by

no test coverage detected