Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celery/celery
/ task_instance
Method
task_instance
t/unit/contrib/django/test_task.py:14–16 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
12
class
test_DjangoTask:
13
@pytest.fixture
14
def
task_instance(self):
15
from
celery.contrib.django.task
import
DjangoTask
16
yield
DjangoTask()
17
18
@pytest.fixture(name=
"on_commit"
)
19
def
on_commit(self):
Callers
nothing calls this directly
Calls
1
DjangoTask
Class · 0.90
Tested by
no test coverage detected