MCPcopy
hub / github.com/celery/celery / test_send_task

Method test_send_task

t/unit/app/test_beat.py:300–303  ·  view source on GitHub ↗
(self, send_task)

Source from the content-addressed store, hash-verified

298
299 @patch('celery.app.base.Celery.send_task')
300 def test_send_task(self, send_task):
301 b = beat.Scheduler(app=self.app)
302 b.send_task('tasks.add', countdown=10)
303 send_task.assert_called_with('tasks.add', countdown=10)
304
305 def test_info(self):
306 scheduler = mScheduler(app=self.app)

Callers

nothing calls this directly

Calls 1

send_taskMethod · 0.95

Tested by

no test coverage detected