waft.cli.run_pytest module

class waft.cli.run_pytest.PytestRunner(config: ~typing.Annotated[~pathlib.Path | None, <typer.models.OptionInfo object at 0x7f785a2b2010>], systems: ~typing.Annotated[list[str], <typer.models.OptionInfo object at 0x7f78599f7e90>], args: ~typing.Annotated[list[str] | None, <typer.models.ArgumentInfo object at 0x7f78592d4cd0>], prompt: ~typing.Annotated[bool, <typer.models.OptionInfo object at 0x7f78597afb90>], limit: ~typing.Annotated[int | None, <typer.models.OptionInfo object at 0x7f78592d4ed0>])

Bases: object

Implements pytest execution interface.

execute(keep_awake: bool | None = None)

Execute pytest using configured WAFT test systems.

Parameters:

keep_awake (Optional[bool]) – True if execution will keep the system awake. Defaults to None.

failed_tasks: set[TaskID] = {}
class waft.cli.run_pytest.StatusBarColumn(bar_width: int | None = 40, style: StyleType = 'bar.back', complete_style: StyleType = 'bar.complete', finished_style: StyleType = 'bar.finished', pulse_style: StyleType = 'bar.pulse', table_column: Column | None = None)

Bases: BarColumn

Renders a visual progress bar.

render(task)

Set progress bar widget style for a task.