Commit f8f415a1 authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Fix unit test regarding recent changes in node_info RPC

This fixes a unit test in,
which was affected by the recent change in the RCP
Signed-off-by: default avatarHelga Velroyen <>
Reviewed-by: default avatarHrovje Ribicic <>
parent f277f142
......@@ -73,7 +73,8 @@ class TestCheckNodesFreeDiskOnVG(unittest.TestCase):
def testPerformNodeInfoCall(self):
expected_hv_arg = [(self.hvname, self.hvparams)]
expected_storage_arg = {self.node_uuid:
[(constants.ST_LVM_VG,, [])]}
[(constants.ST_LVM_VG,, []),
(constants.ST_LVM_PV,, [])]}
instance_storage._PerformNodeInfoCall(, self.node_uuids,
self.node_uuids, expected_storage_arg, expected_hv_arg)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment