pytest-celery contains a container based `celery_worker` fixture. `celery_worker` fixture also used for celery in `celery.contrib.pytest`. When a test is called like this: ~~~python def test_a(celery_app, celery_worker): celery_app celery_worker assert True ~~~ `celery_app` is from celery.contrib.pytest and `celery_worker` is from pytest-celery (docker based)