----- "Will Woods" <wwoods(a)redhat.com> wrote:
----- "Vojtěch Aschenbrenner" <vaschenb(a)redhat.com>
wrote:
> -# post-bodhi-update tests can expect the following variables from
> autoqa:
> -# title: title of the update request
> -# updateid: Unique ID of the update request (may be empty)
> -# targettag: target koji tag for this update
> -# envrs: comma-separated list of package envrs in this update
> request
Removing the argument list from the template is probably not a good
idea, since the templates are a primary source of documentation for
the test hook.
It'd be better to reword the comments to something like:
"post-bodhi-update tests can expect the following keys to be present
in the autoqa_args dict."
Hey, the documentation just moved from control.template to
test_class_template.py. It's the same question as Josef's :)
The rationale is that you no longer need it for writing control files
(they all look the same now), you just need it for writing test
classes (and there you receive it still as methods arguments, not as
a dictionary, so the text stayed verbatim).
Anyway, I think it will change soon enough again with my control.autoqa
patch.