The ironic_python_agent.tests.unit.extensions.test_standby Module

class ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

test_download_image(*args, **keywargs)[source]
test_download_image_fail(*args, **keywargs)[source]
class ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension(*args, **kwds)[source]

Bases: oslotest.base.BaseTestCase

setUp()[source]
test__message_format_partition_bios()[source]
test__message_format_partition_uefi_localboot()[source]
test__message_format_partition_uefi_netboot()[source]
test__message_format_whole_disk()[source]
test_cache_and_write_image(*args, **keywargs)[source]
test_cache_image(*args, **keywargs)[source]
test_cache_image_cached(*args, **keywargs)[source]
test_cache_image_force(*args, **keywargs)[source]
test_cache_image_invalid_image_list()[source]
test_cache_partition_image(*args, **keywargs)[source]
test_download_image(*args, **keywargs)[source]
test_download_image_bad_status(*args, **keywargs)[source]
test_download_image_proxy(*args, **keywargs)[source]
test_download_image_verify_fails(*args, **keywargs)[source]
test_image_location()[source]
test_power_off(*args, **keywargs)[source]
test_prepare_image(*args, **keywargs)[source]
test_prepare_image_no_configdrive(*args, **keywargs)[source]
test_prepare_image_raw_and_stream_false()[source]
test_prepare_image_raw_stream_true()[source]
test_prepare_partition_image(*args, **keywargs)[source]
test_run_image(*args, **keywargs)[source]
test_run_shutdown_command_fails(*args, **keywargs)[source]
test_run_shutdown_command_invalid(*args, **keywargs)[source]
test_run_shutdown_command_valid(*args, **keywargs)[source]
test_run_shutdown_command_valid_poweroff_sysrq(*args, **keywargs)[source]
test_run_shutdown_command_valid_reboot_sysrq(*args, **keywargs)[source]
test_stream_raw_image_onto_device(*args, **keywargs)[source]
test_stream_raw_image_onto_device_write_error(*args, **keywargs)[source]
test_sync(*args, **keywargs)[source]
test_sync_error(*args, **keywargs)[source]
test_validate_image_info_empty_checksum()[source]
test_validate_image_info_empty_urls()[source]
test_validate_image_info_invalid_checksum()[source]
test_validate_image_info_invalid_urls()[source]
test_validate_image_info_missing_field()[source]
test_validate_image_info_success()[source]
test_verify_image_failure()[source]
test_verify_image_success()[source]
test_write_image(*args, **keywargs)[source]
test_write_partition_image(*args, **keywargs)[source]
test_write_partition_image_exception(*args, **keywargs)[source]
test_write_partition_image_exception_image_mb(*args, **keywargs)[source]
test_write_partition_image_no_node_uuid(*args, **keywargs)[source]