openstackclient.tests.identity.v2_0 package

Submodules

openstackclient.tests.identity.v2_0.fakes module

class openstackclient.tests.identity.v2_0.fakes.FakeIdentityv2Client(**kwargs)

Bases: object

class openstackclient.tests.identity.v2_0.fakes.TestIdentityv2(*args, **kwargs)

Bases: openstackclient.tests.utils.TestCommand

setUp()

openstackclient.tests.identity.v2_0.test_catalog module

class openstackclient.tests.identity.v2_0.test_catalog.TestCatalog(*args, **kwargs)

Bases: openstackclient.tests.utils.TestCommand

fake_service = {'endpoints': [{'publicURL': 'https://public.one.example.com', 'region': 'one', 'adminURL': 'https://admin.one.example.com', 'internalURL': 'https://internal.one.example.com'}, {'publicURL': 'https://public.two.example.com', 'region': 'two', 'adminURL': 'https://admin.two.example.com', 'internalURL': 'https://internal.two.example.com'}], 'id': 'qwertyuiop', 'name': 'supernova', 'type': 'compute'}
setUp()
class openstackclient.tests.identity.v2_0.test_catalog.TestCatalogList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_catalog.TestCatalog

columns = ('Name', 'Type', 'Endpoints')
setUp()
test_catalog_list()
test_catalog_list_with_endpoint_url()
class openstackclient.tests.identity.v2_0.test_catalog.TestCatalogShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_catalog.TestCatalog

setUp()
test_catalog_show()

openstackclient.tests.identity.v2_0.test_endpoint module

class openstackclient.tests.identity.v2_0.test_endpoint.TestEndpoint(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_endpoint.TestEndpointCreate(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_endpoint.TestEndpoint

setUp()
test_endpoint_create()
class openstackclient.tests.identity.v2_0.test_endpoint.TestEndpointDelete(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_endpoint.TestEndpoint

setUp()
test_endpoint_delete_no_options()
class openstackclient.tests.identity.v2_0.test_endpoint.TestEndpointList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_endpoint.TestEndpoint

setUp()
test_endpoint_list_long()
test_endpoint_list_no_options()
class openstackclient.tests.identity.v2_0.test_endpoint.TestEndpointShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_endpoint.TestEndpoint

setUp()
test_endpoint_show()

openstackclient.tests.identity.v2_0.test_project module

class openstackclient.tests.identity.v2_0.test_project.TestProject(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_project.TestProjectCreate(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

columns = ('description', 'enabled', 'id', 'name')
datalist = ('Fab Four', True, '8-9-64', 'beatles')
setUp()
test_project_create_description()
test_project_create_disable()
test_project_create_enable()
test_project_create_no_options()
test_project_create_or_show_exists()
test_project_create_or_show_not_exists()
test_project_create_property()
class openstackclient.tests.identity.v2_0.test_project.TestProjectDelete(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

setUp()
test_project_delete_no_options()
class openstackclient.tests.identity.v2_0.test_project.TestProjectList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

setUp()
test_project_list_long()
test_project_list_no_options()
class openstackclient.tests.identity.v2_0.test_project.TestProjectSet(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

setUp()
test_project_set_description()
test_project_set_disable()
test_project_set_enable()
test_project_set_name()
test_project_set_no_options()
test_project_set_property()
class openstackclient.tests.identity.v2_0.test_project.TestProjectShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

setUp()
test_project_show()
class openstackclient.tests.identity.v2_0.test_project.TestProjectUnset(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_project.TestProject

setUp()
test_project_unset_key()

openstackclient.tests.identity.v2_0.test_role module

class openstackclient.tests.identity.v2_0.test_role.TestRole(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_role.TestRoleAdd(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

setUp()
test_role_add()
class openstackclient.tests.identity.v2_0.test_role.TestRoleCreate(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

columns = ('id', 'name')
datalist = ('1', 'boss')
setUp()
test_role_create_no_options()
test_role_create_or_show_exists()
test_role_create_or_show_not_exists()
class openstackclient.tests.identity.v2_0.test_role.TestRoleDelete(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

setUp()
test_role_delete_no_options()
class openstackclient.tests.identity.v2_0.test_role.TestRoleList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

setUp()
test_role_list_no_options()
class openstackclient.tests.identity.v2_0.test_role.TestRoleRemove(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

setUp()
test_role_remove()
class openstackclient.tests.identity.v2_0.test_role.TestRoleShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

setUp()
test_service_show()
class openstackclient.tests.identity.v2_0.test_role.TestUserRoleList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_role.TestRole

columns = ('ID', 'Name', 'Project', 'User')
setUp()
test_user_role_list_no_options()
test_user_role_list_no_options_def_creds()
test_user_role_list_project()
test_user_role_list_project_def_creds()

openstackclient.tests.identity.v2_0.test_service module

class openstackclient.tests.identity.v2_0.test_service.TestService(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_service.TestServiceCreate(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_service.TestService

columns = ('description', 'id', 'name', 'type')
datalist = ('Leonard, Elmore, rip', '1925-10-11', 'elmore', 'author')
setUp()
test_service_create_description()
test_service_create_with_name_option()
test_service_create_with_type_option()
test_service_create_with_type_positional()
class openstackclient.tests.identity.v2_0.test_service.TestServiceDelete(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_service.TestService

setUp()
test_service_delete_no_options()
class openstackclient.tests.identity.v2_0.test_service.TestServiceList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_service.TestService

setUp()
test_service_list_long()
test_service_list_no_options()
class openstackclient.tests.identity.v2_0.test_service.TestServiceShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_service.TestService

setUp()
test_service_show()

openstackclient.tests.identity.v2_0.test_token module

class openstackclient.tests.identity.v2_0.test_token.TestToken(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_token.TestTokenIssue(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_token.TestToken

setUp()
test_token_issue()
test_token_issue_with_unscoped_token()
class openstackclient.tests.identity.v2_0.test_token.TestTokenRevoke(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_token.TestToken

TOKEN = 'fob'
setUp()
test_token_revoke()

openstackclient.tests.identity.v2_0.test_user module

class openstackclient.tests.identity.v2_0.test_user.TestUser(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.fakes.TestIdentityv2

setUp()
class openstackclient.tests.identity.v2_0.test_user.TestUserCreate(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_user.TestUser

columns = ('email', 'enabled', 'id', 'name', 'project_id')
datalist = ('paul@applecorps.com', True, 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'paul', '8-9-64')
setUp()
test_user_create_disable()
test_user_create_email()
test_user_create_enable()
test_user_create_no_options()
test_user_create_or_show_exists()
test_user_create_or_show_not_exists()
test_user_create_password()
test_user_create_password_prompt()
test_user_create_project()
class openstackclient.tests.identity.v2_0.test_user.TestUserDelete(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_user.TestUser

setUp()
test_user_delete_no_options()
class openstackclient.tests.identity.v2_0.test_user.TestUserList(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_user.TestUser

columns = ('ID', 'Name')
datalist = (('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', 'paul'),)
setUp()
test_user_list_long()
test_user_list_no_options()
test_user_list_project()
class openstackclient.tests.identity.v2_0.test_user.TestUserSet(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_user.TestUser

setUp()
test_user_set_disable()
test_user_set_email()
test_user_set_enable()
test_user_set_name()
test_user_set_no_options()
test_user_set_password()
test_user_set_password_prompt()
test_user_set_project()
class openstackclient.tests.identity.v2_0.test_user.TestUserShow(*args, **kwargs)

Bases: openstackclient.tests.identity.v2_0.test_user.TestUser

setUp()
test_user_show()

Module contents