Revision f8f415a1 test/py/cmdlib/instance_storage_unittest.py
b/test/py/cmdlib/instance_storage_unittest.py | ||
---|---|---|
73 | 73 |
def testPerformNodeInfoCall(self): |
74 | 74 |
expected_hv_arg = [(self.hvname, self.hvparams)] |
75 | 75 |
expected_storage_arg = {self.node_uuid: |
76 |
[(constants.ST_LVM_VG, self.vg, [self.es])]} |
|
76 |
[(constants.ST_LVM_VG, self.vg, [self.es]), |
|
77 |
(constants.ST_LVM_PV, self.vg, [self.es])]} |
|
77 | 78 |
instance_storage._PerformNodeInfoCall(self.lu, self.node_uuids, self.vg) |
78 | 79 |
self.lu.rpc.call_node_info.assert_called_with( |
79 | 80 |
self.node_uuids, expected_storage_arg, expected_hv_arg) |
Also available in: Unified diff