Skip to main content

default_worker_container_cls

Replace the default pytest-celery worker container with the smoke tests worker container.

This will allow the default fixtures of pytest-celery to use the custom worker
configuration using the vendor class.
def default_worker_container_cls() - > Type[CeleryWorkerContainer]

Replace the default pytest-celery worker container with the smoke tests worker container. This will allow the default fixtures of pytest-celery to use the custom worker configuration using the vendor class.

Returns

TypeDescription
Type[CeleryWorkerContainer]The SmokeWorkerContainer class used to override the default celery worker implementation for smoke testing