Revision 6d11529e

b/test/py/ganeti.masterd.iallocator_unittest.py
201 201
    has_lvm = False
202 202
    node_name = "mynode"
203 203
    (total_disk, free_disk, total_spindles, free_spindles) = \
204
        iallocator.IAllocator._ComputeStorageDataFromNodeInfo(
204
        iallocator.IAllocator._ComputeStorageDataFromSpaceInfo(
205 205
            self.space_info, node_name, has_lvm)
206 206
    # FIXME: right now, iallocator ignores anything else than LVM, adjust
207 207
    # this test once that arbitrary storage is supported
......
212 212
    has_lvm = True
213 213
    node_name = "mynode"
214 214
    (total_disk, free_disk, total_spindles, free_spindles) = \
215
        iallocator.IAllocator._ComputeStorageDataFromNodeInfo(
215
        iallocator.IAllocator._ComputeStorageDataFromSpaceInfo(
216 216
            self.space_info, node_name, has_lvm)
217 217
    self.assertEqual(self.free_storage_lvm, free_disk)
218 218
    self.assertEqual(self.total_storage_lvm, total_disk)

Also available in: Unified diff