image.v1 package

Submodules

image.v1.test_image_members module

class ImageMembersTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageMembersTest

Test image members

test_add_image_member()[source]

Test idempotent id: 1d6ef640-3a20-4c84-8710-d95828fdb6ad

Test adding member for image

test_get_shared_images()[source]

Test idempotent id: 6a5328a5-80e8-4b82-bd32-6c061f128da9

Test getting shared images

test_remove_member()[source]

Test idempotent id: a76a3191-8948-4b44-a9d6-4053e5f2b138

Test removing member from image

image.v1.test_image_members_negative module

class ImageMembersNegativeTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageMembersTest

Negative tests of image members

test_add_member_with_non_existing_image()[source]

Test idempotent id: 147a9536-18e3-45da-91ea-b037a028f364

Add member with non existing image

test_delete_member_with_non_existing_image()[source]

Test idempotent id: e1559f05-b667-4f1b-a7af-518b52dc0c0f

Delete member with non existing image

test_delete_member_with_non_existing_tenant()[source]

Test idempotent id: f5720333-dd69-4194-bb76-d2f048addd56

Delete member from image with non existing tenant

test_get_image_without_membership()[source]

Test idempotent id: f25f89e4-0b6c-453b-a853-1f80b9d7ef26

Get image without membership

Image is hidden from another tenants.

image.v1.test_images module

class CreateRegisterImagesTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageTest

Here we test the registration and creation of images.

test_register_http_image()[source]

Test idempotent id: 6d0e13a7-515b-460c-b91f-9f4793f09816

Register a new image from an http image path url

test_register_image_with_min_ram()[source]

Test idempotent id: 05b19d55-140c-40d0-b36b-fafd774d421b

Register an image with min ram

test_register_remote_image()[source]

Test idempotent id: 69da74d9-68a9-404b-9664-ff7164ccb0f5

Register a new remote image

test_register_then_upload()[source]

Test idempotent id: 3027f8e6-3492-4a11-8575-c3293017af4d

Register, then upload an image

class ListImagesTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageTest

Here we test the listing of image information

test_index_container_format()[source]

Test idempotent id: 2143655d-96d9-4bec-9188-8674206b4b3b

Test listing images by container format

test_index_disk_format()[source]

Test idempotent id: f1755589-63d6-4468-b098-589820eb4031

Test listing images by disk format

test_index_max_size()[source]

Test idempotent id: feb32ac6-22bb-4a16-afd8-9454bb714b14

Test listing images by max size

test_index_min_size()[source]

Test idempotent id: 6ffc16d0-4cbf-4401-95c8-4ac63eac34d8

Test listing images by min size

test_index_name()[source]

Test idempotent id: 097af10a-bae8-4342-bff4-edf89969ed2a

Test listing images by its name

test_index_no_params()[source]

Test idempotent id: 246178ab-3b33-4212-9a4b-a7fe8261794d

Simple test to see all fixture images returned

test_index_status_active_detail()[source]

Test idempotent id: e5dc26d9-9aa2-48dd-bda5-748e1445da98

Test listing active images sorting by size in descending order

class UpdateImageMetaTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageTest

Test image metadata

test_list_image_metadata()[source]

Test idempotent id: 01752c1c-0275-4de3-9e5b-876e44541928

Test listing image metadata

test_update_image_metadata()[source]

Test idempotent id: d6d7649c-08ce-440d-9ea7-e3dda552f33c

Test updating image metadata

get_container_and_disk_format()[source]

image.v1.test_images_negative module

class CreateDeleteImagesNegativeTest(*args, **kwargs)[source]

Bases: tempest.api.image.base.BaseV1ImageTest

Here are negative tests for the deletion and creation of images.

test_delete_image_blank_id()[source]

Test idempotent id: 04f72aa3-fcec-45a3-81a3-308ef7cc82bc

Return an error while trying to delete an image with blank Id

test_delete_image_id_over_character_limit()[source]

Test idempotent id: a4a448ab-3db2-4d2d-b9b2-6a1271241dfe

Return an error while trying to delete image with id over limit

test_delete_image_negative_image_id()[source]

Test idempotent id: 4ed757cd-450c-44b1-9fd1-c819748c650d

Return an error while trying to delete an image with negative id

test_delete_image_non_hex_string_id()[source]

Test idempotent id: 950e5054-a3c7-4dee-ada5-e576f1087abd

Return an error while trying to delete an image with non hex id

test_delete_non_existent_image()[source]

Test idempotent id: ec652588-7e3c-4b67-a2f2-0fa96f57c8fc

Return an error while trying to delete a non-existent image

test_register_with_invalid_container_format()[source]

Test idempotent id: 036ede36-6160-4463-8c01-c781eee6369d

Create image with invalid container format

Negative tests for invalid data supplied to POST /images

test_register_with_invalid_disk_format()[source]

Test idempotent id: 993face5-921d-4e84-aabf-c1bba4234a67

Create image with invalid disk format

Module contents