Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword Str Assign AttributeStore NameLoad attr BinOpAdd Str Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue If NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore NameLoad If CompareNotIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore SubscriptLoad NameLoad Index Str Return Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareGt Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad NameLoad Num decorator_list decorator_list
N/A N/A 
test_identity
----------------------------------

Functional tests for `shade` identity methods.
 N/A random N/A string shade operator_cloud shade OpenStackCloudException shade.tests.functional base TestIdentity N/A N/A base BaseFunctionalTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestIdentity self setUp N/A N/A self cloud N/A operator_cloud cloud devstack-admin N/A N/A self role_prefix N/A test_role N/A N/A join N/A N/A N/A random choice N/A string ascii_lowercase N/A _ N/A range 5 N/A N/A self user_prefix N/A N/A self getUniqueString user N/A N/A self group_prefix N/A N/A self getUniqueString group N/A N/A N/A self addCleanup N/A self _cleanup_users N/A N/A self identity_version N/A N/A N/A N/A self cloud cloud_config get_api_version identity N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A N/A N/A self addCleanup N/A self _cleanup_groups N/A N/A N/A self addCleanup N/A self _cleanup_roles N/A _cleanup_groups N/A N/A self N/A N/A N/A exception_list N/A list N/A group N/A N/A N/A self cloud list_groups N/A N/A N/A N/A N/A group N/A name startswith N/A self group_prefix N/A N/A N/A N/A N/A N/A N/A self cloud delete_group N/A group N/A id N/A N/A N/A Exception N/A e N/A N/A N/A N/A exception_list append N/A str e N/A N/A exception_list N/A N/A N/A OpenStackCloudException N/A N/A join exception_list N/A _cleanup_users N/A N/A self N/A N/A N/A exception_list N/A list N/A user N/A N/A N/A self cloud list_users N/A N/A N/A N/A N/A user N/A name startswith N/A self user_prefix N/A N/A N/A N/A N/A N/A N/A self cloud delete_user N/A user N/A id N/A N/A N/A Exception N/A e N/A N/A N/A N/A exception_list append N/A str e N/A N/A exception_list N/A N/A N/A OpenStackCloudException N/A N/A join exception_list N/A _cleanup_roles N/A N/A self N/A N/A N/A exception_list N/A list N/A role N/A N/A N/A self cloud list_roles N/A N/A N/A N/A N/A role N/A name startswith N/A self role_prefix N/A N/A N/A N/A N/A N/A N/A self cloud delete_role N/A role N/A name N/A N/A N/A Exception N/A e N/A N/A N/A N/A exception_list append N/A str e N/A N/A exception_list N/A N/A N/A OpenStackCloudException N/A N/A join exception_list N/A _create_user N/A N/A self N/A kwargs N/A N/A domain_id None N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A domain N/A N/A N/A self cloud get_domain default N/A domain_id N/A domain N/A id N/A N/A N/A N/A self cloud create_user domain_id domain_id kwargs N/A test_list_roles N/A N/A self N/A N/A N/A roles N/A N/A N/A self cloud list_roles N/A N/A N/A self assertIsNotNone roles N/A N/A N/A self assertNotEqual N/A roles N/A test_get_role N/A N/A self N/A N/A N/A role N/A N/A N/A self cloud get_role admin N/A N/A N/A self assertIsNotNone role N/A N/A N/A self assertIn id role N/A N/A N/A self assertIn name role N/A N/A N/A self assertEqual admin N/A role N/A name N/A test_search_roles N/A N/A self N/A N/A N/A roles N/A N/A N/A self cloud search_roles filters N/A name admin N/A N/A N/A self assertIsNotNone roles N/A N/A N/A self assertEqual 1 N/A len roles N/A N/A N/A self assertEqual admin N/A N/A roles N/A 0 N/A name N/A test_create_role N/A N/A self N/A N/A N/A role_name N/A N/A self role_prefix _create_role N/A role N/A N/A N/A self cloud create_role role_name N/A N/A N/A self assertIsNotNone role N/A N/A N/A self assertIn id role N/A N/A N/A self assertIn name role N/A N/A N/A self assertEqual role_name N/A role N/A name N/A test_delete_role N/A N/A self N/A N/A N/A role_name N/A N/A self role_prefix _delete_role N/A role N/A N/A N/A self cloud create_role role_name N/A N/A N/A self assertIsNotNone role N/A N/A N/A self assertTrue N/A N/A N/A self cloud delete_role role_name N/A test_list_role_assignments N/A N/A self N/A N/A N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A N/A N/A self skipTest Identity service does not support role assignments N/A assignments N/A N/A N/A self cloud list_role_assignments N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A test_list_role_assignments_v2 N/A N/A self N/A N/A N/A user N/A N/A N/A self cloud get_user demo N/A project N/A N/A N/A self cloud get_project demo N/A assignments N/A N/A N/A self cloud list_role_assignments filters N/A user project N/A user N/A id N/A project N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A test_grant_revoke_role_user_project N/A N/A self N/A N/A N/A user_name N/A N/A self user_prefix _user_project N/A user_email nobody@nowhere.com N/A role_name N/A N/A self role_prefix _grant_user_project N/A role N/A N/A N/A self cloud create_role role_name N/A user N/A N/A self _create_user name user_name email user_email default_project demo N/A N/A N/A self assertTrue N/A N/A N/A self cloud grant_role role_name user N/A user N/A id project demo wait True N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role user project N/A role N/A id N/A user N/A id N/A N/A N/A N/A self cloud get_project demo N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 1 N/A N/A N/A self assertTrue N/A N/A N/A self cloud revoke_role role_name user N/A user N/A id project demo wait True N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role user project N/A role N/A id N/A user N/A id N/A N/A N/A N/A self cloud get_project demo N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A test_grant_revoke_role_group_project N/A N/A self N/A N/A N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A N/A N/A self skipTest Identity service does not support group N/A role_name N/A N/A self role_prefix _grant_group_project N/A role N/A N/A N/A self cloud create_role role_name N/A group_name N/A N/A self group_prefix _group_project N/A group N/A N/A N/A self cloud create_group name group_name description test group domain default N/A N/A N/A self assertTrue N/A N/A N/A self cloud grant_role role_name group N/A group N/A id project demo N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role group project N/A role N/A id N/A group N/A id N/A N/A N/A N/A self cloud get_project demo N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 1 N/A N/A N/A self assertTrue N/A N/A N/A self cloud revoke_role role_name group N/A group N/A id project demo N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role group project N/A role N/A id N/A group N/A id N/A N/A N/A N/A self cloud get_project demo N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A test_grant_revoke_role_user_domain N/A N/A self N/A N/A N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A N/A N/A self skipTest Identity service does not support domain N/A role_name N/A N/A self role_prefix _grant_user_domain N/A role N/A N/A N/A self cloud create_role role_name N/A user_name N/A N/A self user_prefix _user_domain N/A user_email nobody@nowhere.com N/A user N/A N/A self _create_user name user_name email user_email default_project demo N/A N/A N/A self assertTrue N/A N/A N/A self cloud grant_role role_name user N/A user N/A id domain default N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role user domain N/A role N/A id N/A user N/A id N/A N/A N/A N/A self cloud get_domain default N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 1 N/A N/A N/A self assertTrue N/A N/A N/A self cloud revoke_role role_name user N/A user N/A id domain default N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role user domain N/A role N/A id N/A user N/A id N/A N/A N/A N/A self cloud get_domain default N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A test_grant_revoke_role_group_domain N/A N/A self N/A N/A N/A N/A N/A self identity_version N/A 2 2.0 N/A N/A N/A N/A self skipTest Identity service does not support domain or group N/A role_name N/A N/A self role_prefix _grant_group_domain N/A role N/A N/A N/A self cloud create_role role_name N/A group_name N/A N/A self group_prefix _group_domain N/A group N/A N/A N/A self cloud create_group name group_name description test group domain default N/A N/A N/A self assertTrue N/A N/A N/A self cloud grant_role role_name group N/A group N/A id domain default N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role group domain N/A role N/A id N/A group N/A id N/A N/A N/A N/A self cloud get_domain default N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 1 N/A N/A N/A self assertTrue N/A N/A N/A self cloud revoke_role role_name group N/A group N/A id domain default N/A assignments N/A N/A N/A self cloud list_role_assignments N/A role group domain N/A role N/A id N/A group N/A id N/A N/A N/A N/A self cloud get_domain default N/A id N/A N/A N/A self assertIsInstance assignments list N/A N/A N/A self assertTrue N/A N/A len assignments 0 N/A N/A