Module Import alias Import alias identifier ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Num Num Num Assign NameStore Dict Str Str Str Num Num Num Assign NameStore Dict Num Num Num Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr
N/A N/A sys N/A unittest2 unittest raxcli.utils get_enum_as_dict TestUtils N/A N/A unittest TestCase N/A test_get_enum_as_dict N/A N/A self N/A N/A EnumClass1 N/A object N/A N/A KEY1 0 N/A KEY_TWO_TWO 1 N/A SOME_KEY_SOME_SOME 2 N/A N/A result1 N/A get_enum_as_dict EnumClass1 friendly_names False N/A result2 N/A get_enum_as_dict EnumClass1 friendly_names True N/A result1_reversed N/A get_enum_as_dict EnumClass1 reverse True friendly_names False N/A expected1 N/A KEY1 KEY_TWO_TWO SOME_KEY_SOME_SOME 0 1 2 N/A expected2 N/A Key1 Key Two Two Some Key Some Some 0 1 2 N/A expected3 N/A 0 1 2 KEY1 KEY_TWO_TWO SOME_KEY_SOME_SOME N/A N/A N/A self assertDictEqual result1 expected1 N/A N/A N/A self assertDictEqual result2 expected2 N/A N/A N/A self assertDictEqual result1_reversed expected3 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A sys exit N/A N/A unittest main