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

Test class for common methods used by iLO modules.

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

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

setUp()[source]
test__get_floppy_image_name()[source]
test__prepare_floppy_image(*args, **keywargs)[source]
test__prepare_floppy_image_use_webserver(*args, **keywargs)[source]
test_attach_vmedia(*args, **keywargs)[source]
test_attach_vmedia_fails(*args, **keywargs)[source]
test_cleanup_vmedia_boot(*args, **keywargs)[source]
test_cleanup_vmedia_boot_exc(*args, **keywargs)[source]
test_cleanup_vmedia_boot_exc_resource_not_found(*args, **keywargs)[source]
test_cleanup_vmedia_boot_for_webserver(*args, **keywargs)[source]
test_copy_image_to_swift(*args, **keywargs)[source]
test_copy_image_to_swift_throws_error_if_swift_operation_fails(*args, **keywargs)[source]
test_copy_image_to_web_server(*args, **keywargs)[source]
test_copy_image_to_web_server_fails(*args, **keywargs)[source]
test_destroy_floppy_image_from_web_server(*args, **keywargs)[source]
test_eject_vmedia_devices(*args, **keywargs)[source]
test_eject_vmedia_devices_raises(*args, **keywargs)[source]
test_get_ilo_license(*args, **keywargs)[source]
test_get_ilo_license_fail(*args, **keywargs)[source]
test_get_ilo_object_cafile()[source]
test_get_ilo_object_no_cafile()[source]
test_get_secure_boot_mode(*args, **keywargs)[source]
test_get_secure_boot_mode_bios(*args, **keywargs)[source]
test_get_secure_boot_mode_fail(*args, **keywargs)[source]
test_get_secure_boot_mode_not_supported(*args, **keywargs)[source]
test_remove_image_from_swift(*args, **keywargs)[source]
test_remove_image_from_swift_suppresses_notfound_exc(*args, **keywargs)[source]
test_remove_image_from_swift_suppresses_operror_exc(*args, **keywargs)[source]
test_remove_image_from_web_server(*args, **keywargs)[source]
test_remove_single_or_list_of_files_with_file_list(*args, **keywargs)[source]
test_remove_single_or_list_of_files_with_file_str(*args, **keywargs)[source]
test_set_boot_mode(*args, **keywargs)[source]
test_set_boot_mode_with_IloOperationError(*args, **keywargs)[source]
test_set_boot_mode_without_set_pending_boot_mode(*args, **keywargs)[source]
test_set_secure_boot_mode(*args, **keywargs)[source]
test_set_secure_boot_mode_fail(*args, **keywargs)[source]
test_set_secure_boot_mode_not_supported(*args, **keywargs)[source]
test_setup_vmedia(*args, **keywargs)[source]
test_setup_vmedia_for_boot_with_parameters(*args, **keywargs)[source]
test_setup_vmedia_for_boot_with_swift(*args, **keywargs)[source]
test_setup_vmedia_for_boot_with_url(*args, **keywargs)[source]
test_update_boot_mode(*args, **keywargs)[source]
test_update_boot_mode_capabilities_exist(*args, **keywargs)[source]
test_update_boot_mode_instance_info_exists(*args, **keywargs)[source]
test_update_boot_mode_legacy(*args, **keywargs)[source]
test_update_boot_mode_prop_boot_mode_exist(*args, **keywargs)[source]
test_update_boot_mode_unknown(*args, **keywargs)[source]
test_update_boot_mode_unknown_except(*args, **keywargs)[source]
test_update_boot_mode_use_def_boot_mode(*args, **keywargs)[source]
test_update_ipmi_properties()[source]
test_update_secure_boot_mode_passed_false(*args, **keywargs)[source]
test_update_secure_boot_mode_passed_true(*args, **keywargs)[source]
test_verify_image_checksum(*args, **keywargs)[source]
test_verify_image_checksum_throws_for_failed_validation(*args, **keywargs)[source]
test_verify_image_checksum_throws_for_nonexistent_file()[source]
class ironic.tests.unit.drivers.modules.ilo.test_common.IloValidateParametersTestCase(*args, **kwargs)[source]

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

setUp()[source]
test_parse_driver_info_ca_file_in_conf_file()[source]
test_parse_driver_info_ca_file_in_driver_info()[source]
test_parse_driver_info_invalid_cafile(*args, **keywargs)[source]
test_parse_driver_info_invalid_multiple_params()[source]
test_parse_driver_info_invalid_port()[source]
test_parse_driver_info_invalid_timeout()[source]
test_parse_driver_info_missing_address()[source]
test_parse_driver_info_missing_multiple_params()[source]
test_parse_driver_info_missing_password()[source]
test_parse_driver_info_missing_username()[source]

Project Source

This Page