The ironic.tests.unit.drivers.modules.ilo.test_management Module

Test class for Management Interface used by iLO modules.

class ironic.tests.unit.drivers.modules.ilo.test_management.IloManagementTestCase(*args, **kwargs)[source]

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

setUp()[source]
test__execute_ilo_clean_step_fail(*args, **keywargs)[source]
test__execute_ilo_clean_step_not_supported(*args, **keywargs)[source]
test__execute_ilo_clean_step_ok(*args, **keywargs)[source]
test_activate_license(*args, **keywargs)[source]
test_activate_license_no_or_invalid_format_license_key(*args, **keywargs)[source]
test_clear_secure_boot_keys(*args, **keywargs)[source]
test_get_boot_device_fail(*args, **keywargs)[source]
test_get_boot_device_next_boot(*args, **keywargs)[source]
test_get_boot_device_persistent(*args, **keywargs)[source]
test_get_boot_device_persistent_fail(*args, **keywargs)[source]
test_get_properties()[source]
test_get_sensor_data(*args, **keywargs)[source]
test_get_supported_boot_devices()[source]
test_reset_bios_to_default(*args, **keywargs)[source]
test_reset_ilo(*args, **keywargs)[source]
test_reset_ilo_credential_no_password(*args, **keywargs)[source]
test_reset_ilo_credential_ok(*args, **keywargs)[source]
test_reset_secure_boot_keys_to_default(*args, **keywargs)[source]
test_set_boot_device_fail(*args, **keywargs)[source]
test_set_boot_device_invalid_device()[source]
test_set_boot_device_ok(*args, **keywargs)[source]
test_set_boot_device_persistent_fail(*args, **keywargs)[source]
test_set_boot_device_persistent_true(*args, **keywargs)[source]
test_update_firmware_calls_clean_step_foreach_url(*args, **keywargs)[source]
test_update_firmware_cleans_all_files_if_exc_thrown(*args, **keywargs)[source]
test_update_firmware_doesnt_update_any_if_processing_on_any_url_fails(*args, **keywargs)[source]

update_firmware throws error for failure in processing any url

update_firmware doesn’t invoke firmware update of proliantutils for any url if processing on any firmware url fails.

test_update_firmware_throws_error_for_checksum_validation_error(*args, **keywargs)[source]
test_update_firmware_throws_error_for_invalid_component_type()[source]
test_update_firmware_throws_error_for_no_firmware_url()[source]
test_update_firmware_throws_if_invalid_update_mode_provided()[source]
test_validate(*args, **keywargs)[source]