The ironic_lib.tests.test_disk_utils
Module¶
-
class
ironic_lib.tests.test_disk_utils.
DestroyMetaDataTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
GetConfigdriveTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
GetDeviceBlockSizeTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
ListPartitionsTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
MakePartitionsTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
OtherFunctionTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
PopulateImageTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
RealFilePartitioningTestCase
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
This test applies some real-world partitioning scenario to a file.
This test covers the whole partitioning, mocking everything not possible on a file. That helps us assure, that we do all partitioning math properly and also conducts integration testing of DiskPartitioner.
-
class
ironic_lib.tests.test_disk_utils.
WholeDiskConfigDriveTestCases
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase
-
class
ironic_lib.tests.test_disk_utils.
WholeDiskPartitionTestCases
(*args, **kwds)[source]¶ Bases:
oslotest.base.BaseTestCase