[openstack-qa] Issue with global variable
Giulio Fidente
gfidente at redhat.com
Fri May 31 19:38:24 UTC 2013
On 05/31/2013 09:23 PM, Giulio Fidente wrote:
> On 05/31/2013 07:07 PM, Sean Dague wrote:
>> This is why changing the variable later isn't any good (in the second
>> patch), because the decorator was already evaluated. You may be able to
>> build a trickier decorator which does a late load based on the class.
>
> got it
>
> so would you prefer (and eventually +1) to evaluate the boolean within
> the test case or rather move at the class level the two backend names
> and skipIf name1=name2 '
I think the latter would work better but this raises another question:
misconfiguring tempest by setting two backends with same name could
result in a false positive
shall we skip if misconfigured or what?
--
Giulio Fidente
GPG KEY: 08D733BA | IRC: giulivo
More information about the openstack-qa
mailing list