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

Test class for Firmware Processor used by iLO management interface.

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

Bases: ironic.tests.base.TestCase

setUp()[source]
test__download_file_based_fw_to_copies_file_to_target(*args, **keywargs)[source]
test__download_file_based_fw_to_gets_invoked_for_file_based_firmware(*args, **keywargs)[source]
test__download_http_based_fw_to_downloads_the_fw_file(*args, **keywargs)[source]
test__download_http_based_fw_to_gets_invoked_for_http_based_firmware(*args, **keywargs)[source]
test__download_swift_based_fw_to_calls__download_http_based_fw_to(*args, **keywargs)[source]

_download_swift_based_fw_to invokes _download_http_based_fw_to

_download_swift_based_fw_to makes a call to _download_http_based_fw_to in turn with temp url set as the url attribute of fw_processor instance

test__download_swift_based_fw_to_creates_temp_url(*args, **keywargs)[source]
test__download_swift_based_fw_to_gets_invoked_for_swift_based_firmware(*args, **keywargs)[source]
test__extract_fw_from_file_calls_process_firmware_image(*args, **keywargs)[source]
test__extract_fw_from_file_doesnt_upload_firmware(*args, **keywargs)[source]
test__extract_fw_from_file_sets_loc_obj_remove_to_file_if_no_upload(*args, **keywargs)[source]
test__extract_fw_from_file_sets_loc_obj_remove_to_swift(*args, **keywargs)[source]
test__extract_fw_from_file_sets_loc_obj_remove_to_webserver(*args, **keywargs)[source]
test__extract_fw_from_file_uploads_firmware_to_swift(*args, **keywargs)[source]
test__extract_fw_from_file_uploads_firmware_to_webserver(*args, **keywargs)[source]
test__remove_file_based_me(*args, **keywargs)[source]
test__remove_swift_based_me(*args, **keywargs)[source]
test__remove_webserver_based_me(*args, **keywargs)[source]
test_fw_img_loc_sets_these_attributes()[source]
test_fw_processor_ctor_sets_parsed_url_attrib_of_fw_processor()[source]
test_fw_processor_ctor_throws_exception_with_invalid_firmware_url()[source]
test_get_and_validate_firmware_image_info()[source]
test_get_and_validate_firmware_image_info_fails_for_empty_parameter()[source]
test_get_and_validate_firmware_image_info_fails_for_invalid_component()[source]
test_get_and_validate_firmware_image_info_fails_for_missing_parameter()[source]
test_process_fw_on_calls__download_fw_to(*args, **keywargs)[source]
test_process_fw_on_calls__extract_fw_from_file(*args, **keywargs)[source]
test_process_fw_on_throws_error_if_checksum_validation_fails(*args, **keywargs)[source]
test_process_fw_on_verifies_checksum_of_downloaded_fw_file(*args, **keywargs)[source]
test_verify_firmware_update_args_throws_for_invalid_update_mode()[source]
test_verify_firmware_update_args_throws_for_no_firmware_url()[source]