def test_backup_with_backing_image(client, volume_name): # NOQA for bi_url in (BACKING_IMAGE_QCOW2_URL, BACKING_IMAGE_RAW_URL): create_backing_image_with_matching_url( client, BACKING_IMAGE_NAME, bi_url) backup_test(client, volume_name, str(BACKING_IMAGE_EXT4_SIZE), BACKING_IMAGE_NAME) cleanup_all_volumes(client) cleanup_all_backing_images(client)
def test_backup_with_base_image(clients, volume_name): # NOQA backup_test(clients, volume_name, str(BASE_IMAGE_EXT4_SIZE), BASE_IMAGE_EXT4)