buildtest.executors.base
¶
BuildExecutor: manager for test executors
Module Contents¶
Classes¶
The BaseExecutor is an abstract base class for all executors. |
- class buildtest.executors.base.BaseExecutor(name, settings, site_configs, timeout=None)[source]¶
The BaseExecutor is an abstract base class for all executors.
Initiate a base executor, meaning we provide a name (also held by the BuildExecutor base that holds it) and the loaded dictionary of config opts to parse.
- Parameters
name (str) – name of executor
setting (dict) – setting for a given executor defined in configuration file
site_configs (buildtest.config.SiteConfiguration) – Instance of SiteConfiguration class
timeout (str, optional) – Test timeout in number of seconds
- type = 'base'¶
- load()[source]¶
Load a particular configuration based on the name. This method should set defaults for the executor, and will vary based on the class.