QA: Decorate tests with instance checks
authorMichael Hanselmann <hansmi@google.com>
Thu, 10 May 2012 09:54:47 +0000 (11:54 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 10 May 2012 11:02:18 +0000 (13:02 +0200)
commit5fa0375e4a0b0bcb2a264b40885578d85e194ed6
tree2e55f94a3deef1febac333c26266c0c802212f6f
parentc9e05005c62805eed688dd7024a4b19983b700e3
QA: Decorate tests with instance checks

Start using “InstanceCheck” decorator where appropriate. Use direct call
for check in places where the instance status changes during the test.

The parameters of “TestInstanceImport” had to be re-ordered to have the
instance as the first argument.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
qa/ganeti-qa.py
qa/qa_instance.py
qa/qa_rapi.py