Module ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign SubscriptStore NameLoad Index Str Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign SubscriptStore NameLoad Index Str Num Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import keystoneclient.v2_0 client keystone_client openstack_dashboard api openstack_dashboard.test helpers test FakeConnection N/A object N/A N/A N/A ClientConnectionTests N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ClientConnectionTests self setUp N/A N/A N/A N/A self mox StubOutWithMock keystone_client Client N/A N/A self internal_url N/A N/A N/A api base url_for N/A self request identity endpoint_type internalURL N/A N/A self admin_url N/A N/A N/A api base url_for N/A self request identity endpoint_type adminURL N/A N/A self conn N/A FakeConnection N/A N/A RoleAPITests N/A N/A test APITestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super RoleAPITests self setUp N/A N/A self role N/A N/A self roles member N/A N/A self roles N/A N/A N/A self roles list N/A test_remove_tenant_user N/A N/A self N/A N/A N/A Tests api.keystone.remove_tenant_user

        Verifies that remove_tenant_user is called with the right arguments
        after iterating the user's roles.

        There are no assertions in this test because the checking is handled
        by mox in the VerifyAll() call in tearDown().
         N/A keystoneclient N/A N/A self stub_keystoneclient N/A tenant N/A N/A N/A self tenants first N/A N/A keystoneclient roles N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A N/A keystoneclient roles roles_for_user N/A N/A self user id N/A tenant id AndReturn N/A self roles N/A role N/A self roles N/A N/A N/A N/A N/A keystoneclient roles revoke N/A role id domain None group None project N/A tenant id user N/A N/A self user id N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A api keystone remove_tenant_user N/A self request N/A tenant id N/A N/A self user id N/A test_get_default_role N/A N/A self N/A N/A N/A keystoneclient N/A N/A self stub_keystoneclient N/A N/A keystoneclient roles N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A N/A keystoneclient roles list AndReturn N/A self roles N/A N/A N/A N/A self mox ReplayAll N/A role N/A N/A N/A api keystone get_default_role N/A self request N/A N/A N/A self assertEqual N/A self role role N/A role N/A N/A N/A api keystone get_default_role N/A self request N/A N/A ServiceAPITests N/A N/A test APITestCase N/A test_service_wrapper N/A N/A self N/A N/A N/A catalog N/A self service_catalog N/A identity_data N/A N/A N/A api base get_service_from_catalog catalog identity N/A N/A identity_data N/A id 1 N/A region N/A N/A N/A identity_data N/A endpoints N/A 0 N/A region N/A service N/A N/A N/A api keystone Service identity_data region N/A N/A N/A self assertEqual identity (native backend) N/A unicode service N/A N/A N/A self assertEqual N/A N/A N/A identity_data N/A endpoints N/A 0 N/A region N/A service region N/A N/A N/A self assertEqual http://int.keystone.example.com:5000/v2.0 N/A service url N/A N/A N/A self assertEqual http://public.keystone.example.com:5000/v2.0 N/A service public_url N/A N/A N/A self assertEqual int.keystone.example.com N/A service host N/A test_service_wrapper_service_in_region N/A N/A self N/A N/A N/A catalog N/A self service_catalog N/A compute_data N/A N/A N/A api base get_service_from_catalog catalog compute N/A N/A compute_data N/A id 1 N/A region N/A N/A N/A compute_data N/A endpoints N/A 1 N/A region N/A service N/A N/A N/A api keystone Service compute_data region N/A N/A N/A self assertEqual compute N/A unicode service N/A N/A N/A self assertEqual N/A N/A N/A compute_data N/A endpoints N/A 1 N/A region N/A service region N/A N/A N/A self assertEqual http://int.nova2.example.com:8774/v2 N/A service url N/A N/A N/A self assertEqual http://public.nova2.example.com:8774/v2 N/A service public_url N/A N/A N/A self assertEqual int.nova2.example.com N/A service host N/A N/A