Module Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str NameLoad Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr 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 AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad Str NameLoad Str Str NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str 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 Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr ListLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list
N/A N/A mock oslo_context context oslo_context ironic.common context ironic.tests base tests_base RequestContextTestCase N/A N/A tests_base TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super RequestContextTestCase self setUp N/A test_create_context N/A N/A self context_mock N/A N/A N/A test_context N/A N/A context RequestContext N/A N/A N/A context_mock assert_called_once_with auth_token None user None tenant None is_admin False read_only False show_deleted False request_id None overwrite True N/A N/A N/A self assertFalse N/A test_context is_public_api N/A N/A N/A self assertIsNone N/A test_context domain_id N/A N/A N/A self assertIsNone N/A test_context domain_name N/A N/A N/A self assertTrue N/A test_context show_password N/A N/A N/A self assertEqual N/A N/A test_context roles N/A N/A N/A N/A mock patch object N/A oslo_context RequestContext __init__ test_from_dict N/A N/A self N/A N/A N/A dict N/A user tenant is_public_api domain_id domain_name show_password roles user1 tenant1 True domain_id1 domain_name1 False None N/A ctx N/A N/A N/A context RequestContext from_dict dict N/A N/A N/A self assertIsNone N/A ctx user N/A N/A N/A self assertIsNone N/A ctx tenant N/A N/A N/A self assertTrue N/A ctx is_public_api N/A N/A N/A self assertEqual domain_id1 N/A ctx domain_id N/A N/A N/A self assertEqual domain_name1 N/A ctx domain_name N/A N/A N/A self assertFalse N/A ctx show_password N/A N/A N/A self assertEqual N/A N/A ctx roles N/A test_to_dict N/A N/A self N/A N/A N/A values N/A auth_token user tenant is_admin read_only show_deleted request_id is_public_api domain_id domain_name show_password roles overwrite auth_token1 user1 tenant1 True True True id1 True domain_id1 domain_name1 False None True N/A ctx N/A N/A context RequestContext values N/A ctx_dict N/A N/A ctx to_dict N/A N/A N/A self assertIn auth_token ctx_dict N/A N/A N/A self assertIn user ctx_dict N/A N/A N/A self assertIn tenant ctx_dict N/A N/A N/A self assertIn is_admin ctx_dict N/A N/A N/A self assertIn read_only ctx_dict N/A N/A N/A self assertIn show_deleted ctx_dict N/A N/A N/A self assertIn request_id ctx_dict N/A N/A N/A self assertIn domain_id ctx_dict N/A N/A N/A self assertIn roles ctx_dict N/A N/A N/A self assertIn domain_name ctx_dict N/A N/A N/A self assertIn show_password ctx_dict N/A N/A N/A self assertIn is_public_api ctx_dict N/A N/A N/A self assertNotIn overwrite ctx_dict N/A N/A N/A self assertEqual auth_token1 N/A ctx_dict N/A auth_token N/A N/A N/A self assertEqual user1 N/A ctx_dict N/A user N/A N/A N/A self assertEqual tenant1 N/A ctx_dict N/A tenant N/A N/A N/A self assertTrue N/A ctx_dict N/A is_admin N/A N/A N/A self assertTrue N/A ctx_dict N/A read_only N/A N/A N/A self assertTrue N/A ctx_dict N/A show_deleted N/A N/A N/A self assertEqual id1 N/A ctx_dict N/A request_id N/A N/A N/A self assertTrue N/A ctx_dict N/A is_public_api N/A N/A N/A self assertEqual domain_id1 N/A ctx_dict N/A domain_id N/A N/A N/A self assertEqual domain_name1 N/A ctx_dict N/A domain_name N/A N/A N/A self assertFalse N/A ctx_dict N/A show_password N/A N/A N/A self assertEqual N/A N/A ctx_dict N/A roles N/A test_get_admin_context N/A N/A self N/A N/A N/A admin_context N/A N/A context get_admin_context N/A N/A N/A self assertTrue N/A admin_context is_admin N/A test_thread_without_context N/A N/A self context_get_mock N/A N/A N/A N/A N/A self context update_store N/A N/A mock Mock N/A N/A context_get_mock return_value None N/A N/A N/A N/A self context ensure_thread_contain_context N/A N/A N/A N/A N/A self context update_store assert_called_once_with N/A N/A N/A N/A mock patch object oslo_context get_current test_thread_with_context N/A N/A self context_get_mock N/A N/A N/A N/A N/A self context update_store N/A N/A mock Mock N/A N/A context_get_mock return_value N/A self context N/A N/A N/A N/A self context ensure_thread_contain_context N/A N/A N/A self assertFalse N/A N/A N/A self context update_store called N/A N/A N/A N/A mock patch object oslo_context get_current N/A