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'
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.

  • summary – How verbose summary to output (int)
  • variants – How verbose list of variants to output (int)
  • kwargs – Other free-form arguments
Return type:



Add default values

Note:Those values should not be part of the variant_id
class avocado_varianter_pict.VarianterPictCLI

Bases: avocado.core.plugin_interfaces.CLI

Pict based Varianter options


Configures the command line parser with options specific to this plugin

description = "PICT based Varianter options for the 'run' subcommand"
name = 'pict'

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.run_pict(binary, parameter_file, order)