On Thu, Apr 26, 2012 at 08:02:33PM +0200, Michael Hanselmann wrote:
> Until now “TestRunIf” and “TestEnabled” could only handle AND. With this
> patch a new class named “Either” is added to “qa_config” and allows OR.
> The name “Either” was chosen instead of “Or” as the latter is very close
> to the reserved keyword “or”.
> 
> Examples:
>   ["rapi", Either(["instance-rename", "instance-reboot"])]
> 
>   Either(["node-list", "instance-list", "job-list"])

LGTM,

>  test/qa.qa_config_unittest.py |  137 
> +++++++++++++++++++++++++++++++++++++++++

… but you are crazy :)

iustin

Reply via email to