Files
igny8/backend/venv/lib/python3.12/site-packages/celery/contrib/testing/tasks.py
2025-11-09 10:27:02 +00:00

10 lines
208 B
Python

"""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'