Add unit test for LUClusterSetParams
authorThomas Thrainer <thomasth@google.com>
Wed, 31 Jul 2013 12:59:58 +0000 (14:59 +0200)
committerThomas Thrainer <thomasth@google.com>
Wed, 7 Aug 2013 15:52:25 +0000 (17:52 +0200)
commita794b8d77bf50493b71e9ce758bd16a2f3cde579
treea35921787a79bddea5a17f27ad414cd659088d8b
parentf02733cca249c013681cb34bba92abedf4d12ac8
Add unit test for LUClusterSetParams

Some changes to the test framework were performed while writing this
test:
 - Extended builder for disks
 - Introduced builder for NICs
 - Fixed bugs in RpcResultsBuilder

Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
lib/cmdlib/cluster.py
test/py/cmdlib/cluster_unittest.py
test/py/cmdlib/test_unittest.py
test/py/cmdlib/testsupport/cmdlib_testcase.py
test/py/cmdlib/testsupport/config_mock.py
test/py/cmdlib/testsupport/rpc_runner_mock.py