The bareon.tests.test_hardware_utils
Module¶
-
class
bareon.tests.test_hardware_utils.
TestHardwareUtils
(methodName='runTest')¶ Bases:
unittest2.case.TestCase
-
test_blockdevreport
(**keywargs)¶
-
test_extrareport
(**keywargs)¶
-
test_extrareport_exceptions
(**keywargs)¶
-
test_get_block_devices_from_udev_db
(**keywargs)¶
-
test_get_device_ids
(**keywargs)¶
-
test_get_vg_devices_from_udev_db
(**keywargs)¶
-
test_is_block_device
(**keywargs)¶
-
test_is_disk_bspec_none
(**keywargs)¶
-
test_is_disk_cdrom
(**keywargs)¶
-
test_is_disk_major
(**keywargs)¶
-
test_is_disk_partition
(**keywargs)¶
-
test_is_disk_readonly
(**keywargs)¶
-
test_is_disk_uspec_bspec_none
(**keywargs)¶
-
test_is_disk_uspec_none
(**keywargs)¶
-
test_is_valid_dev_type
()¶
-
test_is_valid_dev_type_devname_test
()¶
-
test_is_valid_dev_type_not_vg
()¶
-
test_is_valid_dev_type_not_vg_test
()¶
-
test_is_valid_dev_type_vg_test
()¶
-
test_is_valid_dev_type_wrong_major_test
()¶
-
test_list_block_devices
(**keywargs)¶
-
test_list_block_devices_skip_block_device
(**keywargs)¶
-
test_match_device_devlinks
()¶
-
test_match_device_devpath
()¶
-
test_match_device_false
()¶
-
test_match_device_serial
()¶
-
test_match_device_serial_false
()¶
-
test_match_device_wwn
()¶
-
test_match_device_wwn_false
()¶
-
test_parse_dmidecode
(**keywargs)¶
-
test_parse_lspci
(**keywargs)¶
-
test_parse_simple_kv
(**keywargs)¶
-
test_udevreport
(**keywargs)¶
-