Fix testGetHvDefaults testcase
authorThomas Thrainer <thomasth@google.com>
Thu, 20 Jun 2013 11:16:59 +0000 (13:16 +0200)
committerThomas Thrainer <thomasth@google.com>
Thu, 20 Jun 2013 11:52:26 +0000 (13:52 +0200)
commit1f3096c26f85511bd0339babc092f40c58b5b921
treedb06cf3e2f3b40cce3fa554c2b2ecfac32e3f52a
parent4665b94f7893080725af19e10b7d02af490e3b40
Fix testGetHvDefaults testcase

The introduction of the migration_mode parameter to the fake hypervisor
broke the testGetHvDefaults. This patch fixes this by taking the default
parameters of the fake hypervisor into account.

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
test/py/ganeti.objects_unittest.py