The ironic.tests.unit.common.test_images Module

class ironic.tests.unit.common.test_images.FsImageTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

test__create_root_fs(*args, **keywargs)[source]
test__generate_grub_cfg()[source]
test__generate_isolinux_cfg()[source]
test__mount_deploy_iso(*args, **keywargs)[source]
test__mount_deploy_iso_fail_no_efibootimg(*args, **keywargs)[source]
test__mount_deploy_iso_fail_with_ExecutionError(*args, **keywargs)[source]
test__mount_deploy_iso_fails_no_grub_cfg(*args, **keywargs)[source]
test__umount_without_raise(*args, **keywargs)[source]
test_create_boot_iso_for_bios(*args, **keywargs)[source]
test_create_boot_iso_for_bios_with_no_boot_mode(*args, **keywargs)[source]
test_create_boot_iso_for_uefi(*args, **keywargs)[source]
test_create_boot_iso_for_uefi_for_hrefs(*args, **keywargs)[source]
test_create_isolinux_image_bios_mkisofs_fails(*args, **keywargs)[source]
test_create_isolinux_image_bios_rootfs_fails(*args, **keywargs)[source]
test_create_isolinux_image_for_bios(*args, **keywargs)[source]
test_create_isolinux_image_for_uefi(*args, **keywargs)[source]
test_create_isolinux_image_mkisofs_fails(*args, **keywargs)[source]
test_create_isolinux_image_uefi_rootfs_fails(*args, **keywargs)[source]
test_create_vfat_image(*args, **keywargs)[source]
test_create_vfat_image_always_umount(*args, **keywargs)[source]
test_create_vfat_image_dd_fails(*args, **keywargs)[source]
test_create_vfat_image_mkfs_fails(*args, **keywargs)[source]
test_create_vfat_image_umount_fails(*args, **keywargs)[source]
test_get_glance_image_properties_default_all(*args, **keywargs)[source]
test_get_glance_image_properties_no_such_prop(*args, **keywargs)[source]
test_get_glance_image_properties_with_prop_subset(*args, **keywargs)[source]
test_get_temp_url_for_glance_image(*args, **keywargs)[source]
class ironic.tests.unit.common.test_images.IronicImagesTestCase(*args, **kwargs)[source]

Bases: ironic.tests.base.TestCase

class FakeImgInfo[source]

Bases: object

test_converted_size(*args, **keywargs)[source]
test_download_size(*args, **keywargs)[source]
test_fetch_image_service(*args, **keywargs)[source]
test_fetch_image_service_force_raw(*args, **keywargs)[source]
test_image_show_image_service()[source]
test_image_show_no_image_service(*args, **keywargs)[source]
test_image_to_raw(*args, **keywargs)[source]
test_image_to_raw_already_raw_format(*args, **keywargs)[source]
test_image_to_raw_backing_file_present(*args, **keywargs)[source]
test_image_to_raw_no_file_format(*args, **keywargs)[source]
test_image_to_raw_not_raw_after_conversion(*args, **keywargs)[source]
test_is_whole_disk_image_no_img_src(*args, **keywargs)[source]
test_is_whole_disk_image_partition_image(*args, **keywargs)[source]
test_is_whole_disk_image_partition_non_glance(*args, **keywargs)[source]
test_is_whole_disk_image_whole_disk_image(*args, **keywargs)[source]
test_is_whole_disk_image_whole_disk_non_glance(*args, **keywargs)[source]