(task_self)
| 2048 | |
| 2049 | @self.app.task(bind=True) |
| 2050 | def test_task(task_self): |
| 2051 | return { |
| 2052 | 'task_id': task_self.request.id, |
| 2053 | 'parent_id': task_self.request.parent_id, |
| 2054 | 'root_id': task_self.request.root_id, |
| 2055 | } |
| 2056 | |
| 2057 | # Create a mock parent task with no root_id |
| 2058 | mock_parent = Mock() |
nothing calls this directly
no outgoing calls
no test coverage detected