keystoneauth1.tests.unit.access package

Submodules

keystoneauth1.tests.unit.access.test_v2_access module

class keystoneauth1.tests.unit.access.test_v2_access.AccessV2Test(*args, **kwargs)

Bases: keystoneauth1.tests.unit.utils.TestCase

test_binding()
test_building_scoped_accessinfo()
test_building_unscoped_accessinfo()
test_diablo_token()
test_grizzly_token()
test_is_admin_project()
test_trusts()
test_v2_roles()
test_will_expire_soon()

keystoneauth1.tests.unit.access.test_v2_service_catalog module

class keystoneauth1.tests.unit.access.test_v2_service_catalog.ServiceCatalogTest(*args, **kwargs)

Bases: keystoneauth1.tests.unit.utils.TestCase

setUp()
test_building_a_service_catalog()
test_servcie_catalog_get_url_region_names()
test_service_catalog_empty()
test_service_catalog_endpoint_id()
test_service_catalog_endpoints()
test_service_catalog_get_endpoints_region_names()
test_service_catalog_multiple_service_types()
test_service_catalog_service_name()
test_service_catalog_url_for_region_names()
test_service_catalog_without_service_type()

keystoneauth1.tests.unit.access.test_v3_access module

class keystoneauth1.tests.unit.access.test_v3_access.AccessV3Test(*args, **kwargs)

Bases: keystoneauth1.tests.unit.utils.TestCase

test_binding()
test_building_domain_scoped_accessinfo()
test_building_project_as_domain_scoped_accessinfo()
test_building_project_scoped_accessinfo()
test_building_unscoped_accessinfo()
test_federated_property_standard_token()

Check if is_federated property returns expected value.

test_is_admin_project_false()
test_is_admin_project_true()
test_is_admin_project_unset()
test_oauth_access()
test_will_expire_soon()

keystoneauth1.tests.unit.access.test_v3_service_catalog module

class keystoneauth1.tests.unit.access.test_v3_service_catalog.ServiceCatalogTest(*args, **kwargs)

Bases: keystoneauth1.tests.unit.utils.TestCase

setUp()
test_building_a_service_catalog()
test_service_catalog_empty()
test_service_catalog_endpoints()
test_service_catalog_get_endpoints_region_names()
test_service_catalog_get_url_region_names()
test_service_catalog_regions()
test_service_catalog_service_name()
test_service_catalog_url_for_region_names()
test_service_catalog_without_name()
class keystoneauth1.tests.unit.access.test_v3_service_catalog.ServiceCatalogV3Test(*args, **kwargs)

Bases: keystoneauth1.tests.unit.access.test_v3_service_catalog.ServiceCatalogTest

test_building_a_service_catalog()
test_service_catalog_endpoint_id()
test_service_catalog_endpoints()
test_service_catalog_multiple_service_types()
test_service_catalog_without_service_type()

Module contents