MCPcopy
hub / github.com/celery/celery / test_populate_name

Method test_populate_name

t/unit/tasks/test_result.py:993–998  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

991 res_subtask_async.get(disable_sync_subtasks=False)
992
993 def test_populate_name(self):
994 res = EagerResult('x', 'x', states.SUCCESS, None, 'test_task')
995 assert res.name == 'test_task'
996
997 res = EagerResult('x', 'x', states.SUCCESS, name='test_task_named_argument')
998 assert res.name == 'test_task_named_argument'
999
1000
1001class test_tuples:

Callers

nothing calls this directly

Calls 1

EagerResultClass · 0.90

Tested by

no test coverage detected