celery_alt_dev_worker
Creates a pytest-celery worker node from the worker container.
def celery_alt_dev_worker(
alt_dev_worker_container: AltSmokeWorkerContainer,
celery_setup_app: Celery
) - > CeleryTestWorker
Creates a pytest-celery worker node from the worker container.
Parameters
| Name | Type | Description |
|---|---|---|
| alt_dev_worker_container | AltSmokeWorkerContainer | The container instance representing the alternative development worker environment. |
| celery_setup_app | Celery | The Celery application instance used to configure the worker node. |
Returns
| Type | Description |
|---|---|
CeleryTestWorker | A pytest-celery worker instance that manages the lifecycle of the alternative development worker container during tests. |