Query: Add additional test to node.powered for OOB handling
authorRené Nussbaumer <rn@google.com>
Fri, 25 Feb 2011 13:42:19 +0000 (14:42 +0100)
committerRené Nussbaumer <rn@google.com>
Mon, 28 Feb 2011 12:33:42 +0000 (13:33 +0100)
commitb12d5e2eb5f6441287381972dd90777feb3d79cf
tree4a7648bb0b08b5bcd2470d6a84e6c8ae7f107338
parentea1440c13aa09d418c911bb08c92bc9efd6dc8fa
Query: Add additional test to node.powered for OOB handling

This patch covers the testing of _GetNodePower of query.py not only for
unavailable but also for OOB support and returning the right
node.powered.

Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
test/ganeti.query_unittest.py