Skip to main content

SmokeWorkerContainer

Defines the configurations for the smoke tests worker container.

Methods​


client()​

@classmethod
def client() - > Any

Returns the current container instance to provide a consistent interface for client interactions.

Returns​

TypeDescription
AnyThe SmokeWorkerContainer instance itself.

version()​

@classmethod
def version() - > str

Retrieves the current version string of the installed Celery package.

Returns​

TypeDescription
strThe semantic version string of the Celery library.

log_level()​

@classmethod
def log_level() - > str

Defines the logging verbosity level for the smoke test worker process.

Returns​

TypeDescription
strThe logging level string, which defaults to "INFO".

worker_name()​

@classmethod
def worker_name() - > str

Specifies the unique identifier used to name the smoke test worker instance.

Returns​

TypeDescription
strThe designated name of the worker, "smoke_tests_worker".

worker_queue()​

@classmethod
def worker_queue() - > str

Identifies the specific Celery queue that this worker is configured to consume tasks from.

Returns​

TypeDescription
strThe name of the task queue, "smoke_tests_queue".