keystone.tests.unit.catalog package

keystone.tests.unit.catalog package

Submodules

keystone.tests.unit.catalog.test_backends module

class keystone.tests.unit.catalog.test_backends.CatalogTests[source]

Bases: object

test_avoid_creating_circular_references_in_regions_update()[source]
test_cache_layer_delete_service_with_endpoint()[source]
test_cache_layer_region_crud(*args, **kwargs)[source]
test_cache_layer_service_crud(*args, **kwargs)[source]
test_circular_regions_can_be_deleted(*args, **keywargs)[source]
test_create_endpoint()[source]
test_create_endpoint_nonexistent_region()[source]
test_create_endpoint_nonexistent_service()[source]
test_create_region_invalid_parent_region_returns_not_found()[source]
test_create_region_with_duplicate_id()[source]
test_delete_endpoint_returns_not_found()[source]
test_delete_region_returns_not_found()[source]
test_delete_service_returns_not_found()[source]
test_delete_service_with_endpoint()[source]
test_get_catalog_endpoint_disabled()[source]

Get back only enabled endpoints when get the v2 catalog.

test_get_endpoint_returns_not_found()[source]
test_get_region_returns_not_found()[source]
test_get_service_returns_not_found()[source]
test_get_v3_catalog_endpoint_disabled()[source]

Get back only enabled endpoints when get the v3 catalog.

test_invalidate_cache_when_updating_endpoint(*args, **kwargs)[source]
test_invalidate_cache_when_updating_region(*args, **kwargs)[source]
test_invalidate_cache_when_updating_service(*args, **kwargs)[source]
test_list_endpoints()[source]
test_list_regions_filtered_by_parent_region_id()[source]
test_region_crud()[source]
test_service_crud()[source]
test_service_filtering()[source]
test_update_endpoint()[source]
test_update_endpoint_nonexistent_region()[source]
test_update_endpoint_nonexistent_service()[source]

keystone.tests.unit.catalog.test_core module

class keystone.tests.unit.catalog.test_core.FormatUrlTests(*args, **kwargs)[source]

Bases: keystone.tests.unit.core.BaseTestCase

test_formatting_a_non_string()[source]
test_raises_malformed_on_incomplete_format()[source]
test_raises_malformed_on_missing_key()[source]
test_raises_malformed_on_wrong_type()[source]
test_substitution_with_allowed_project_keyerror()[source]
test_substitution_with_allowed_tenant_keyerror()[source]
test_substitution_with_key_not_allowed()[source]
test_successful_formatting()[source]

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.