glance.tests.functional.v2 package

Submodules

glance.tests.functional.v2.registry_data_api module

glance.tests.functional.v2.registry_data_api.client_wrapper(func)[source]
glance.tests.functional.v2.registry_data_api.patched_bulk_request(self, commands)[source]

glance.tests.functional.v2.test_images module

class glance.tests.functional.v2.test_images.TestImageDirectURLVisibility(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_image_direct_url_not_visible()[source]
test_image_direct_url_visible()[source]
test_image_multiple_location_url_visible()[source]
test_v2_enabled()[source]
test_v2_not_enabled()[source]
class glance.tests.functional.v2.test_images.TestImageDirectURLVisibilityWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_images.TestImageDirectURLVisibility

setUp()[source]
class glance.tests.functional.v2.test_images.TestImageLocationSelectionStrategy(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
tearDown()[source]
test_image_locations_with_order_strategy()[source]
class glance.tests.functional.v2.test_images.TestImageLocationSelectionStrategyWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_images.TestImageLocationSelectionStrategy

setUp()[source]
class glance.tests.functional.v2.test_images.TestImageMembers(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_image_member_lifecycle()[source]
class glance.tests.functional.v2.test_images.TestImageMembersWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_images.TestImageMembers

setUp()[source]
class glance.tests.functional.v2.test_images.TestImages(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
tearDown()[source]
test_download_image_allowed_using_restricted_policy()[source]
test_download_image_not_allowed_using_restricted_policy()[source]
test_download_image_raises_service_unavailable()[source]

Test image download returns HTTPServiceUnavailable.

test_download_policy_when_cache_is_not_enabled()[source]
test_download_random_access()[source]
test_image_additions_works_only_for_specific_tenant_id()[source]
test_image_lifecycle()[source]
test_image_modification_fails_on_mismatched_tenant_ids()[source]
test_image_modification_works_for_owning_tenant_id()[source]
test_image_size_cap()[source]
test_image_visibility_to_different_users()[source]
test_images_container()[source]
test_list_show_ok_when_get_location_allowed_for_admins()[source]
test_member_additions_works_for_owning_tenant_id()[source]
test_methods_that_dont_accept_illegal_bodies()[source]
test_not_authenticated_in_registry_on_ops()[source]
test_owning_tenant_can_communitize_image()[source]
test_owning_tenant_can_delete_image()[source]
test_owning_tenant_can_publicize_image()[source]
test_owning_tenant_id_can_retrieve_image_information()[source]
test_permissions()[source]
test_property_protections_special_chars_policies()[source]
test_property_protections_special_chars_roles()[source]
test_property_protections_with_policies()[source]
test_property_protections_with_roles()[source]
test_tag_lifecycle()[source]
test_update_locations()[source]
test_update_locations_with_restricted_sources()[source]
test_update_readonly_prop()[source]
test_v1_none_properties_v2()[source]
class glance.tests.functional.v2.test_images.TestImagesIPv6(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

Verify that API and REG servers running IPv6 can communicate

setUp()[source]

First applying monkey patches of functions and methods which have IPv4 hardcoded.

tearDown()[source]
test_image_list_ipv6()[source]
class glance.tests.functional.v2.test_images.TestImagesWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_images.TestImages

setUp()[source]
class glance.tests.functional.v2.test_images.TestQuotas(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_chunked_image_upload_exceed_quota()[source]
test_chunked_image_upload_under_quota()[source]
test_image_upload_exceed_quota()[source]
test_image_upload_under_quota()[source]
class glance.tests.functional.v2.test_images.TestQuotasWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_images.TestQuotas

setUp()[source]

glance.tests.functional.v2.test_metadef_namespaces module

class glance.tests.functional.v2.test_metadef_namespaces.TestNamespaces(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_metadef_dont_accept_illegal_bodies()[source]
test_namespace_lifecycle()[source]

glance.tests.functional.v2.test_metadef_objects module

class glance.tests.functional.v2.test_metadef_objects.TestMetadefObjects(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_metadata_objects_lifecycle()[source]

glance.tests.functional.v2.test_metadef_properties module

class glance.tests.functional.v2.test_metadef_properties.TestNamespaceProperties(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_properties_lifecycle()[source]

glance.tests.functional.v2.test_metadef_resourcetypes module

class glance.tests.functional.v2.test_metadef_resourcetypes.RequestDeserializer(schema=None)[source]

Bases: glance.common.wsgi.JSONRequestDeserializer

create(request)[source]
class glance.tests.functional.v2.test_metadef_resourcetypes.ResourceTypeController(db_api=None, policy_enforcer=None)[source]

Bases: object

create(req, resource_type, namespace)[source]
delete(req, namespace, resource_type)[source]
index(req)[source]
show(req, namespace)[source]
class glance.tests.functional.v2.test_metadef_resourcetypes.ResponseSerializer(schema=None)[source]

Bases: glance.common.wsgi.JSONResponseSerializer

create(response, result)[source]
delete(response, result)[source]
index(response, result)[source]
show(response, result)[source]
glance.tests.functional.v2.test_metadef_resourcetypes.create_resource()[source]

ResourceTypeAssociation resource factory method

glance.tests.functional.v2.test_metadef_resourcetypes.get_collection_schema()[source]
glance.tests.functional.v2.test_metadef_resourcetypes.get_schema()[source]

glance.tests.functional.v2.test_metadef_tags module

class glance.tests.functional.v2.test_metadef_tags.TestMetadefTags(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_metadata_tags_lifecycle()[source]

glance.tests.functional.v2.test_schemas module

class glance.tests.functional.v2.test_schemas.TestSchemas(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_resource()[source]

glance.tests.functional.v2.test_tasks module

class glance.tests.functional.v2.test_tasks.TestTasks(*args, **kwargs)[source]

Bases: glance.tests.functional.FunctionalTest

setUp()[source]
test_task_lifecycle()[source]
test_task_not_allowed_non_admin()[source]
class glance.tests.functional.v2.test_tasks.TestTasksWithRegistry(*args, **kwargs)[source]

Bases: glance.tests.functional.v2.test_tasks.TestTasks

setUp()[source]

Module contents