avocado_result_upload package

Module contents

Avocado Plugin to propagate Job results to remote host

class avocado_result_upload.ResultUpload

Bases: avocado.core.plugin_interfaces.Result

ResultsUpload output class

description = 'ResultUpload result support'
name = 'result_upload'
render(result, job)

Upload result, which corresponds to one test from the Avocado Job

if job.status == “RUNNING”:
return # Don’t create results on unfinished jobs
class avocado_result_upload.ResultUploadCLI

Bases: avocado.core.plugin_interfaces.CLI

ResultsUpload output class


Configures the command line parser with options specific to this plugin

description = "ResultUpload options for 'run' subcommand"
name = 'result_upload'

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.