Updates
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"""Helper tasks for integration tests."""
|
||||
from celery import shared_task
|
||||
|
||||
|
||||
@shared_task(name='celery.ping')
|
||||
def ping():
|
||||
# type: () -> str
|
||||
"""Simple task that just returns 'pong'."""
|
||||
return 'pong'
|
||||
Reference in New Issue
Block a user