Module ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Dict Str ListLoad Str Dict Str ListLoad Str Dict Str ListLoad Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Dict Str ListLoad Str Dict Str Str Dict Str Str ListLoad Str Str Dict Str Str ListLoad Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Dict Str Str Dict For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Dict Str ListLoad Str Dict Str Str Dict Str Str ListLoad Str Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list
N/A ironic.common policy ironic.tests base PolicyTestCase N/A N/A base TestCase N/A N/A Tests whether the configuration of the policy engine is corect. test_admin_api N/A N/A self N/A N/A N/A creds N/A N/A roles N/A admin N/A roles N/A administrator N/A roles N/A admin administrator N/A c creds N/A N/A N/A N/A self assertTrue N/A N/A policy enforce admin_api c c N/A test_public_api N/A N/A self N/A N/A N/A creds N/A is_public_api True N/A N/A N/A self assertTrue N/A N/A policy enforce public_api creds creds N/A test_trusted_call N/A N/A self N/A N/A N/A creds N/A N/A roles N/A admin N/A is_public_api True N/A roles is_public_api N/A admin True N/A roles is_public_api N/A Member True N/A c creds N/A N/A N/A N/A self assertTrue N/A N/A policy enforce trusted_call c c N/A test_show_password N/A N/A self N/A N/A N/A creds N/A roles tenant N/A admin admin N/A N/A N/A self assertTrue N/A N/A policy enforce show_password creds creds N/A N/A PolicyTestCaseNegative N/A N/A base TestCase N/A N/A Tests whether the configuration of the policy engine is corect. test_admin_api N/A N/A self N/A N/A N/A creds N/A roles N/A Member N/A N/A N/A self assertFalse N/A N/A policy enforce admin_api creds creds N/A test_public_api N/A N/A self N/A N/A N/A creds N/A N/A is_public_api False N/A N/A c creds N/A N/A N/A N/A self assertFalse N/A N/A policy enforce public_api c c N/A test_trusted_call N/A N/A self N/A N/A N/A creds N/A N/A roles N/A Member N/A is_public_api False N/A roles is_public_api N/A Member False N/A c creds N/A N/A N/A N/A self assertFalse N/A N/A policy enforce trusted_call c c N/A test_show_password N/A N/A self N/A N/A N/A creds N/A roles tenant N/A admin demo N/A N/A N/A self assertFalse N/A N/A policy enforce show_password creds creds N/A N/A