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
| Type | Description |
|---|---|
Any | The SmokeWorkerContainer instance itself. |
version()
@classmethod
def version() - > str
Retrieves the current version string of the installed Celery package.
Returns
| Type | Description |
|---|---|
str | The 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
| Type | Description |
|---|---|
str | The 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
| Type | Description |
|---|---|
str | The 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
| Type | Description |
|---|---|
str | The name of the task queue, "smoke_tests_queue". |