Revision a09639d1 test/py/ganeti.utils.storage_unittest.py
b/test/py/ganeti.utils.storage_unittest.py | ||
---|---|---|
80 | 80 |
self._cfg = mock.Mock() |
81 | 81 |
|
82 | 82 |
def testGetStorageUnits(self): |
83 |
disk_templates = [constants.DT_FILE, constants.DT_SHARED_FILE]
|
|
83 |
disk_templates = constants.DTS_FILEBASED
|
|
84 | 84 |
storage_units = storage.GetStorageUnits(self._cfg, disk_templates) |
85 | 85 |
self.assertEqual(len(storage_units), len(disk_templates)) |
86 | 86 |
|
Also available in: Unified diff