what is it?
overview of celery testing methodology
divided in two parts
- unit and integration testing using celery.contrib.pytest
- smoke/production testing using pytest-celery
eager mode
from django.test import override_settings
@override_settings(CELERY_TASK_ALWAYS_EAGER=True)
def test_foo():
passby setting task_always_eager to True, tasks will be executed immediately (synchronously) instead of being sent to the queue for asynchronous processing