Files
mnote/wolai-backend/.venv312/Lib/site-packages/celery/contrib/testing/tasks.py
T

10 lines
208 B
Python
Raw Normal View History

2025-12-08 19:56:24 +08:00
"""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'