avocado_varianter_pict package¶
Module contents¶
-
class
avocado_varianter_pict.VarianterPict¶ Bases:
avocado.core.plugin_interfaces.VarianterProcesses the pict file into variants
-
description= 'PICT based Varianter'¶
-
initialize(config)¶
-
name= 'pict'¶
-
to_str(summary, variants, **kwargs)¶ Return human readable representation
The summary/variants accepts verbosity where 0 means silent and maximum is up to the plugin.
Parameters: - summary – How verbose summary to output (int)
- variants – How verbose list of variants to output (int)
- kwargs – Other free-form arguments
Return type:
-
update_defaults(defaults)¶ Add default values
Note: Those values should not be part of the variant_id
-
-
class
avocado_varianter_pict.VarianterPictCLI¶ Bases:
avocado.core.plugin_interfaces.CLIPict based Varianter options
-
configure(parser)¶ Configures the command line parser with options specific to this plugin
-
description= "PICT based Varianter options for the 'run' subcommand"¶
-
name= 'pict'¶
-
run(config)¶ Execute any action the plugin intends.
Example of action may include activating a special features upon finding that the requested command line options were set by the user.
Note: this plugin class is not intended for adding new commands, for that please use CLICmd.
-
-
avocado_varianter_pict.parse_pict_output(output)¶
-
avocado_varianter_pict.run_pict(binary, parameter_file, order)¶