The bareon.tests.test_partition Module

class bareon.tests.test_partition.TestFileSystem(methodName='runTest')

Bases: unittest2.case.TestCase

test_conversion()
class bareon.tests.test_partition.TestLogicalVolume(methodName='runTest')

Bases: unittest2.case.TestCase

test_conversion()
class bareon.tests.test_partition.TestMultipleDevice(methodName='runTest')

Bases: unittest2.case.TestCase

setUp()
test_add_device_in_devices_fail()
test_add_device_in_spares_fail()
test_add_device_ok()
test_add_spare_in_devices_fail()
test_add_spare_in_spares_fail()
test_conversion()
class bareon.tests.test_partition.TestParted(methodName='runTest')

Bases: unittest2.case.TestCase

setUp()
test_conversion()
test_next_begin_empty_partitions()
test_next_begin_last_extended_partition()
test_next_begin_no_last_extended_partition()
test_next_count_has_logical()
test_next_count_no_logical()
test_next_name_no_separator(*args, **keywargs)
test_next_name_none(*args, **keywargs)
test_next_name_with_separator(*args, **keywargs)
test_next_type_gpt()
test_next_type_has_extended()
test_next_type_no_extended()
test_partition_by_name()
test_primary()
class bareon.tests.test_partition.TestPartition(methodName='runTest')

Bases: unittest2.case.TestCase

setUp()
test_conversion()
test_set_flag()
class bareon.tests.test_partition.TestPartitionScheme(methodName='runTest')

Bases: unittest2.case.TestCase

setUp()
test_elevate_keep_data()
test_fs_by_device()
test_fs_by_mount()
test_md_attach_by_mount_md_exists()
test_md_attach_by_mount_no_md()
test_md_by_mount()
test_md_by_name()
test_md_next_name_fail()
test_md_next_name_ok()
test_partition_by_name()
test_pv_by_name()
test_root_device_not_found()
test_vg_attach_by_name()
test_vg_by_name()
class bareon.tests.test_partition.TestPhysicalVolume(methodName='runTest')

Bases: unittest2.case.TestCase

test_conversion()
class bareon.tests.test_partition.TestVolumesGroup(methodName='runTest')

Bases: unittest2.case.TestCase

test_conversion()