avocado_varianter_pict package

Module contents

class avocado_varianter_pict.VarianterPict

Bases: avocado.core.plugin_interfaces.Varianter

Processes 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:

str

class avocado_varianter_pict.VarianterPictCLI

Bases: avocado.core.plugin_interfaces.CLI

Pict 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)