The ironic.tests.unit.drivers.test_utils Module

class ironic.tests.unit.drivers.test_utils.UtilsRamdiskLogsTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

setUp()[source]
test_collect_ramdisk_logs(*args, **keywargs)[source]
test_collect_ramdisk_logs_IPA_command_fail(*args, **keywargs)[source]
test_collect_ramdisk_logs_storage_command_fail(*args, **keywargs)[source]
test_collect_ramdisk_logs_storage_fail_fs(*args, **keywargs)[source]
test_collect_ramdisk_logs_storage_fail_swift(*args, **keywargs)[source]
test_collect_ramdisk_logs_storage_fail_unkown(*args, **keywargs)[source]
test_get_ramdisk_logs_file_name(*args, **keywargs)[source]
test_store_ramdisk_logs_local(*args, **keywargs)[source]
test_store_ramdisk_logs_swift(*args, **keywargs)[source]
class ironic.tests.unit.drivers.test_utils.UtilsTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_add_node_capability()[source]
test_add_node_capability_append()[source]
test_add_node_capability_append_duplicate()[source]
test_capabilities_not_string()[source]
test_capabilities_to_dict()[source]
test_capabilities_to_dict_with_incorrect_format_fail()[source]
test_capabilities_to_dict_with_invalid_character_fail()[source]
test_capabilities_to_dict_with_only_key_or_value_fail()[source]
test_ensure_next_boot_device(*args, **keywargs)[source]
test_ensure_next_boot_device_clears_is_next_boot_persistent()[source]
test_force_persistent_boot_false()[source]
test_force_persistent_boot_true()[source]
test_get_node_capability()[source]
test_get_node_capability_returns_none()[source]
test_get_node_mac_addresses()[source]
test_normalize_mac_string()[source]
test_normalize_mac_unicode()[source]
test_vendor_interface_get_properties()[source]
test_vendor_interface_validate_bad_method()[source]
test_vendor_interface_validate_valid_methods(*args, **keywargs)[source]

Project Source

This Page