Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMult Str BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore BinOpMult Str BinOpAdd AttributeLoad NameLoad attr Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str Str AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str ListLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad AttributeLoad NameLoad attr Str NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str ListLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str NameLoad Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad Str Str NameLoad ListLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Dict Str Str Str Str Str Str Str Str NameLoad ListLoad Str Dict Str Str Str Str Str Str Str Str NameLoad ListLoad Str Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str Str Str NameLoad NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad Str NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str Str Str Str Str NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str NameLoad Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad Str Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Dict Str Str Str Str Str Str NameLoad Str Str NameLoad Dict Str Str Str Str Str Str NameLoad Str Str NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Str keyword BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Str Call AttributeLoad NameLoad attr NameLoad keyword BinOpMod Str AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore ListLoad BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Dict Str Str Str Str Str AttributeLoad NameLoad attr BoolOpOr NameLoad Str NameLoad Return TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Dict Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict Str Dict Str Str Str Str BoolOpOr NameLoad Str NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr keyword SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Dict Str Str Str Str Str Str NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Dict Str Dict Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str NameLoad decorator_list decorator_list
N/A N/A copy N/A fixtures N/A mock oslo_config cfg oslo_utils uuidutils webob exc neutron.api.v2 attributes attr neutron context neutron.db api dbapi neutron.db flavors_db neutron.db servicetype_db neutron.extensions flavors neutron.plugins.common constants neutron.services.flavors flavors_plugin neutron.services provider_configuration provconf neutron.tests base neutron.tests.unit.api.v2 test_base neutron.tests.unit.db test_db_base_plugin_v2 neutron.tests.unit.extensions base extension N/A _uuid N/A uuidutils generate_uuid N/A _get_path N/A test_base _get_path N/A _driver neutron.tests.unit.extensions.test_flavors.DummyServiceDriver N/A _provider dummy N/A _long_name N/A x N/A N/A attr NAME_MAX_LEN 1 N/A _long_description N/A x N/A N/A attr LONG_DESCRIPTION_MAX_LEN 1 FlavorExtensionTestCase N/A N/A extension ExtensionTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super FlavorExtensionTestCase self setUp N/A N/A N/A self _setUpExtension neutron.services.flavors.flavors_plugin.FlavorsPlugin N/A constants FLAVORS N/A flavors RESOURCE_ATTRIBUTE_MAP N/A flavors Flavors supported_extension_aliases flavors N/A test_create_flavor N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A data N/A flavor N/A name service_type description tenant_id enabled GOLD N/A constants FLAVORS the best flavor tenant_id True N/A expected N/A N/A copy deepcopy data N/A N/A N/A expected N/A flavor N/A service_profiles N/A N/A instance N/A N/A self plugin return_value N/A N/A N/A instance create_flavor return_value N/A expected N/A flavor N/A res N/A N/A N/A self api post N/A _get_path flavors fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance create_flavor assert_called_with N/A mock ANY flavor expected N/A res N/A N/A self deserialize res N/A N/A N/A self assertIn flavor res N/A N/A N/A self assertEqual expected res N/A test_create_flavor_invalid_service_type N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A data N/A flavor N/A name service_type description tenant_id enabled GOLD BROKEN the best flavor tenant_id True N/A N/A N/A N/A self api post N/A _get_path flavors fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_create_flavor_too_long_name N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A data N/A flavor N/A name service_type description tenant_id enabled _long_name N/A constants FLAVORS the best flavor tenant_id True N/A N/A N/A N/A self api post N/A _get_path flavors fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_create_flavor_too_long_description N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A data N/A flavor N/A name service_type description tenant_id enabled _long_name N/A constants FLAVORS _long_description tenant_id True N/A N/A N/A N/A self api post N/A _get_path flavors fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_create_flavor_invalid_enabled N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A data N/A flavor N/A name service_type description tenant_id enabled _long_name N/A constants FLAVORS the best flavor tenant_id BROKEN N/A N/A N/A N/A self api post N/A _get_path flavors fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_update_flavor N/A N/A self N/A N/A N/A flavor_id fake_id N/A data N/A flavor N/A name description enabled GOLD the best flavor True N/A expected N/A N/A copy copy data N/A N/A N/A expected N/A flavor N/A service_profiles N/A N/A instance N/A N/A self plugin return_value N/A N/A N/A instance update_flavor return_value N/A expected N/A flavor N/A res N/A N/A N/A self api put N/A _get_path flavors id flavor_id fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance update_flavor assert_called_with N/A mock ANY flavor_id flavor expected N/A res N/A N/A self deserialize res N/A N/A N/A self assertIn flavor res N/A N/A N/A self assertEqual expected res N/A test_update_flavor_too_long_name N/A N/A self N/A N/A N/A flavor_id fake_id N/A data N/A flavor N/A name description enabled _long_name the best flavor True N/A N/A N/A N/A self api put N/A _get_path flavors id flavor_id fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_update_flavor_too_long_description N/A N/A self N/A N/A N/A flavor_id fake_id N/A data N/A flavor N/A name description enabled GOLD _long_description True N/A N/A N/A N/A self api put N/A _get_path flavors id flavor_id fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_update_flavor_invalid_enabled N/A N/A self N/A N/A N/A flavor_id fake_id N/A data N/A flavor N/A name description enabled GOLD _long_description BROKEN N/A N/A N/A N/A self api put N/A _get_path flavors id flavor_id fmt N/A self fmt N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_delete_flavor N/A N/A self N/A N/A N/A flavor_id fake_id N/A instance N/A N/A self plugin return_value N/A N/A N/A N/A self api delete N/A _get_path flavors id flavor_id fmt N/A self fmt content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance delete_flavor assert_called_with N/A mock ANY flavor_id N/A test_show_flavor N/A N/A self N/A N/A N/A flavor_id fake_id N/A expected N/A flavor N/A id name description enabled service_profiles flavor_id GOLD the best flavor True N/A profile-1 N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_flavor return_value N/A expected N/A flavor N/A res N/A N/A N/A self api get N/A _get_path flavors id flavor_id fmt N/A self fmt N/A N/A N/A N/A instance get_flavor assert_called_with N/A mock ANY flavor_id fields N/A mock ANY N/A res N/A N/A self deserialize res N/A N/A N/A self assertEqual expected res N/A test_get_flavors N/A N/A self N/A N/A N/A data N/A flavors N/A N/A id name description enabled service_profiles id1 GOLD the best flavor True N/A profile-1 N/A id name description enabled service_profiles id2 GOLD the best flavor True N/A profile-2 profile-1 N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_flavors return_value N/A data N/A flavors N/A res N/A N/A N/A self api get N/A _get_path flavors fmt N/A self fmt N/A N/A N/A N/A instance get_flavors assert_called_with N/A mock ANY fields N/A mock ANY filters N/A mock ANY N/A res N/A N/A self deserialize res N/A N/A N/A self assertEqual data res N/A test_create_service_profile N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A expected N/A service_profile N/A description driver tenant_id enabled metainfo the best sp tenant_id True {"data": "value"} N/A instance N/A N/A self plugin return_value N/A N/A N/A instance create_service_profile return_value N/A expected N/A service_profile N/A res N/A N/A N/A self api post N/A _get_path service_profiles fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance create_service_profile assert_called_with N/A mock ANY service_profile expected N/A res N/A N/A self deserialize res N/A N/A N/A self assertIn service_profile res N/A N/A N/A self assertEqual expected res N/A test_create_service_profile_too_long_description N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A expected N/A service_profile N/A description driver tenant_id enabled metainfo _long_description tenant_id True {"data": "value"} N/A N/A N/A N/A self api post N/A _get_path service_profiles fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_create_service_profile_too_long_driver N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A expected N/A service_profile N/A description driver tenant_id enabled metainfo the best sp _long_description tenant_id True {"data": "value"} N/A N/A N/A N/A self api post N/A _get_path service_profiles fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_create_service_profile_invalid_enabled N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A expected N/A service_profile N/A description driver tenant_id enabled metainfo the best sp tenant_id BROKEN {"data": "value"} N/A N/A N/A N/A self api post N/A _get_path service_profiles fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_update_service_profile N/A N/A self N/A N/A N/A sp_id fake_id N/A expected N/A service_profile N/A description enabled metainfo the best sp False {"data1": "value3"} N/A instance N/A N/A self plugin return_value N/A N/A N/A instance update_service_profile return_value N/A expected N/A service_profile N/A res N/A N/A N/A self api put N/A _get_path service_profiles id sp_id fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance update_service_profile assert_called_with N/A mock ANY sp_id service_profile expected N/A res N/A N/A self deserialize res N/A N/A N/A self assertIn service_profile res N/A N/A N/A self assertEqual expected res N/A test_update_service_profile_too_long_description N/A N/A self N/A N/A N/A sp_id fake_id N/A expected N/A service_profile N/A description enabled metainfo the best sp BROKEN {"data1": "value3"} N/A N/A N/A N/A self api put N/A _get_path service_profiles id sp_id fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_update_service_profile_invalid_enabled N/A N/A self N/A N/A N/A sp_id fake_id N/A expected N/A service_profile N/A description enabled metainfo the best sp BROKEN {"data1": "value3"} N/A N/A N/A N/A self api put N/A _get_path service_profiles id sp_id fmt N/A self fmt N/A N/A self serialize expected content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A test_delete_service_profile N/A N/A self N/A N/A N/A sp_id fake_id N/A instance N/A N/A self plugin return_value N/A N/A N/A N/A self api delete N/A _get_path service_profiles id sp_id fmt N/A self fmt content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance delete_service_profile assert_called_with N/A mock ANY sp_id N/A test_show_service_profile N/A N/A self N/A N/A N/A sp_id fake_id N/A expected N/A service_profile N/A id driver description metainfo enabled id1 _driver desc {} True N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_service_profile return_value N/A expected N/A service_profile N/A res N/A N/A N/A self api get N/A _get_path service_profiles id sp_id fmt N/A self fmt N/A N/A N/A N/A instance get_service_profile assert_called_with N/A mock ANY sp_id fields N/A mock ANY N/A res N/A N/A self deserialize res N/A N/A N/A self assertEqual expected res N/A test_get_service_profiles N/A N/A self N/A N/A N/A expected N/A service_profiles N/A N/A id driver description metainfo enabled id1 _driver desc {} True N/A id driver description metainfo enabled id2 _driver desc {} True N/A instance N/A N/A self plugin return_value N/A N/A N/A instance get_service_profiles return_value N/A expected N/A service_profiles N/A res N/A N/A N/A self api get N/A _get_path service_profiles fmt N/A self fmt N/A N/A N/A N/A instance get_service_profiles assert_called_with N/A mock ANY fields N/A mock ANY filters N/A mock ANY N/A res N/A N/A self deserialize res N/A N/A N/A self assertEqual expected res N/A test_associate_service_profile_with_flavor N/A N/A self N/A N/A N/A tenant_id N/A N/A uuidutils generate_uuid N/A expected N/A service_profile N/A id tenant_id N/A _uuid tenant_id N/A instance N/A N/A self plugin return_value N/A N/A N/A instance create_flavor_service_profile return_value N/A expected N/A service_profile N/A res N/A N/A N/A self api post /flavors/fl_id/service_profiles N/A N/A self serialize expected content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance create_flavor_service_profile assert_called_with N/A mock ANY service_profile expected flavor_id fl_id N/A res N/A N/A self deserialize res N/A N/A N/A self assertEqual expected res N/A test_disassociate_service_profile_with_flavor N/A N/A self N/A N/A N/A instance N/A N/A self plugin return_value N/A N/A N/A instance delete_flavor_service_profile return_value None N/A N/A N/A N/A self api delete N/A /flavors/fl_id/service_profiles/%s fake_spid content_type N/A application/%s N/A self fmt N/A N/A N/A N/A instance delete_flavor_service_profile assert_called_with N/A mock ANY fake_spid flavor_id fl_id N/A test_update_association_error N/A N/A self N/A N/A N/A Confirm that update is not permitted with user error. N/A new_id N/A N/A uuidutils generate_uuid N/A data N/A service_profile N/A id new_id N/A N/A N/A N/A self api put N/A /flavors/fl_id/service_profiles/%s fake_spid N/A N/A self serialize data content_type N/A application/%s N/A self fmt status N/A N/A exc HTTPBadRequest code N/A N/A DummyCorePlugin N/A object N/A N/A N/A DummyServicePlugin N/A object N/A driver_loaded N/A N/A self driver service_profile N/A N/A N/A N/A get_plugin_type N/A N/A self N/A N/A N/A N/A constants DUMMY N/A get_plugin_description N/A N/A self N/A N/A N/A Dummy service plugin, aware of flavors N/A N/A DummyServiceDriver N/A object N/A get_service_type N/A N/A N/A N/A N/A N/A constants DUMMY N/A staticmethod __init__ N/A N/A self plugin N/A N/A N/A N/A N/A FlavorPluginTestCase N/A N/A test_db_base_plugin_v2 NeutronDbPluginV2TestCase N/A base PluginFixture N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super FlavorPluginTestCase self setUp N/A N/A N/A self config_parse N/A N/A N/A N/A cfg CONF set_override core_plugin neutron.tests.unit.extensions.test_flavors.DummyCorePlugin N/A N/A N/A N/A cfg CONF set_override service_plugins N/A neutron.tests.unit.extensions.test_flavors.DummyServicePlugin N/A N/A N/A self useFixture N/A N/A fixtures MonkeyPatch neutron.manager.NeutronManager._instance N/A N/A self plugin N/A N/A flavors_plugin FlavorsPlugin N/A N/A self ctx N/A N/A context get_admin_context N/A providers N/A N/A N/A N/A N/A N/A N/A DummyServiceDriver get_service_type : _provider : _driver N/A N/A self service_manager N/A N/A N/A servicetype_db ServiceTypeManager get_instance N/A N/A self service_providers N/A N/A N/A N/A N/A mock patch object N/A provconf NeutronModule service_providers start N/A N/A N/A self service_providers return_value providers N/A provider providers N/A N/A N/A N/A N/A self service_manager add_provider_configuration N/A N/A N/A provider split : N/A 0 N/A N/A provconf ProviderConfiguration N/A N/A N/A dbapi get_engine N/A _create_flavor N/A N/A self description N/A None N/A N/A flavor N/A flavor N/A name service_type description enabled GOLD N/A constants DUMMY N/A description the best flavor True N/A N/A N/A N/A N/A self plugin create_flavor N/A self ctx flavor flavor N/A test_create_flavor N/A N/A self N/A N/A N/A N/A N/A self _create_flavor N/A res N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db Flavor all N/A N/A N/A self assertEqual 1 N/A len res N/A N/A N/A self assertEqual GOLD N/A N/A res N/A 0 N/A name N/A N/A N/A self assertEqual N/A constants DUMMY N/A N/A res N/A 0 N/A service_type N/A test_update_flavor N/A N/A self N/A N/A N/A N/A fl flavor N/A N/A self _create_flavor N/A flavor N/A flavor N/A name enabled Silver False N/A N/A N/A N/A self plugin update_flavor N/A self ctx N/A fl N/A id flavor N/A res N/A N/A N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db Flavor filter_by id N/A fl N/A id one N/A N/A N/A self assertEqual Silver N/A res N/A name N/A N/A N/A self assertFalse N/A res N/A enabled N/A test_delete_flavor N/A N/A self N/A N/A N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin delete_flavor N/A self ctx N/A fl N/A id N/A res N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db Flavor all N/A N/A N/A self assertFalse res N/A test_show_flavor N/A N/A self N/A N/A N/A N/A fl data N/A N/A self _create_flavor N/A show_fl N/A N/A N/A self plugin get_flavor N/A self ctx N/A fl N/A id N/A N/A N/A self assertEqual fl show_fl N/A test_get_flavors N/A N/A self N/A N/A N/A N/A fl flavor N/A N/A self _create_flavor N/A N/A N/A flavor N/A flavor N/A name SILVER N/A N/A N/A N/A self plugin create_flavor N/A self ctx flavor N/A show_fl N/A N/A N/A self plugin get_flavors N/A self ctx N/A N/A N/A self assertEqual 2 N/A len show_fl N/A _create_service_profile N/A N/A self description N/A None N/A N/A data N/A service_profile N/A description driver enabled metainfo N/A description the best sp _driver True {"data": "value"} N/A sp N/A N/A N/A self plugin create_service_profile N/A self ctx data N/A N/A sp data N/A test_create_service_profile N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A res N/A N/A N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db ServiceProfile filter_by id N/A sp N/A id one N/A N/A N/A self assertEqual N/A N/A data N/A service_profile N/A driver N/A res N/A driver N/A N/A N/A self assertEqual N/A N/A data N/A service_profile N/A metainfo N/A res N/A metainfo N/A test_create_service_profile_empty_driver N/A N/A self N/A N/A N/A data N/A service_profile N/A description driver enabled metainfo the best sp True {"data": "value"} N/A sp N/A N/A N/A self plugin create_service_profile N/A self ctx data N/A res N/A N/A N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db ServiceProfile filter_by id N/A sp N/A id one N/A N/A N/A self assertEqual N/A N/A data N/A service_profile N/A driver N/A res N/A driver N/A N/A N/A self assertEqual N/A N/A data N/A service_profile N/A metainfo N/A res N/A metainfo N/A test_create_service_profile_invalid_driver N/A N/A self N/A N/A N/A data N/A service_profile N/A description driver enabled metainfo the best sp Broken True {"data": "value"} N/A N/A N/A self assertRaises N/A flavors ServiceProfileDriverNotFound N/A N/A self plugin create_service_profile N/A self ctx data N/A test_create_service_profile_invalid_empty N/A N/A self N/A N/A N/A data N/A service_profile N/A description driver enabled metainfo True N/A N/A N/A self assertRaises N/A flavors ServiceProfileEmpty N/A N/A self plugin create_service_profile N/A self ctx data N/A test_update_service_profile N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A N/A data N/A service_profile N/A metainfo {"data": "value1"} N/A sp N/A N/A N/A self plugin update_service_profile N/A self ctx N/A sp N/A id data N/A res N/A N/A N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db ServiceProfile filter_by id N/A sp N/A id one N/A N/A N/A self assertEqual N/A N/A data N/A service_profile N/A metainfo N/A res N/A metainfo N/A test_delete_service_profile N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A N/A N/A self plugin delete_service_profile N/A self ctx N/A sp N/A id N/A res N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db ServiceProfile all N/A N/A N/A self assertFalse res N/A test_show_service_profile N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A sp_show N/A N/A N/A self plugin get_service_profile N/A self ctx N/A sp N/A id N/A N/A N/A self assertEqual sp sp_show N/A test_get_service_profiles N/A N/A self N/A N/A N/A N/A N/A self _create_service_profile N/A N/A N/A self _create_service_profile description another sp N/A N/A N/A self assertEqual 2 N/A len N/A N/A N/A self plugin get_service_profiles N/A self ctx N/A test_associate_service_profile_with_flavor N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A binding N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db FlavorServiceProfileBinding first N/A N/A N/A self assertEqual N/A fl N/A id N/A binding N/A flavor_id N/A N/A N/A self assertEqual N/A sp N/A id N/A binding N/A service_profile_id N/A res N/A N/A N/A self plugin get_flavor N/A self ctx N/A fl N/A id N/A N/A N/A self assertEqual 1 N/A len N/A res N/A service_profiles N/A N/A N/A self assertEqual N/A sp N/A id N/A N/A res N/A service_profiles N/A 0 N/A res N/A N/A N/A self plugin get_service_profile N/A self ctx N/A sp N/A id N/A N/A N/A self assertEqual 1 N/A len N/A res N/A flavors N/A N/A N/A self assertEqual N/A fl N/A id N/A N/A res N/A flavors N/A 0 N/A test_autodelete_flavor_associations N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A N/A self plugin delete_flavor N/A self ctx N/A fl N/A id N/A binding N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db FlavorServiceProfileBinding first N/A N/A N/A self assertIsNone binding N/A test_associate_service_profile_with_flavor_exists N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A self assertRaises N/A flavors FlavorServiceProfileBindingExists N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A test_disassociate_service_profile_with_flavor N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A N/A self plugin delete_flavor_service_profile N/A self ctx N/A sp N/A id N/A fl N/A id N/A binding N/A N/A N/A N/A N/A N/A self ctx session query N/A flavors_db FlavorServiceProfileBinding first N/A N/A N/A self assertIsNone binding N/A N/A N/A self assertRaises N/A flavors FlavorServiceProfileBindingNotFound N/A N/A self plugin delete_flavor_service_profile N/A self ctx N/A sp N/A id N/A fl N/A id N/A test_delete_service_profile_in_use N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A self assertRaises N/A flavors ServiceProfileInUse N/A N/A self plugin delete_service_profile N/A self ctx N/A sp N/A id N/A test_get_flavor_next_provider_no_binding N/A N/A self N/A N/A N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A self assertRaises N/A flavors FlavorServiceProfileBindingNotFound N/A N/A self plugin get_flavor_next_provider N/A self ctx N/A fl N/A id N/A test_get_flavor_next_provider_disabled N/A N/A self N/A N/A N/A data N/A service_profile N/A description driver enabled metainfo the best sp _driver False {"data": "value"} N/A sp N/A N/A N/A self plugin create_service_profile N/A self ctx data N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A self assertRaises N/A flavors ServiceProfileDisabled N/A N/A self plugin get_flavor_next_provider N/A self ctx N/A fl N/A id N/A test_get_flavor_next_provider_no_driver N/A N/A self N/A N/A N/A data N/A service_profile N/A description driver enabled metainfo the best sp True {"data": "value"} N/A sp N/A N/A N/A self plugin create_service_profile N/A self ctx data N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A N/A N/A self assertRaises N/A flavors ServiceProfileDriverNotFound N/A N/A self plugin get_flavor_next_provider N/A self ctx N/A fl N/A id N/A test_get_flavor_next_provider N/A N/A self N/A N/A N/A N/A sp data N/A N/A self _create_service_profile N/A N/A fl data N/A N/A self _create_flavor N/A N/A N/A N/A self plugin create_flavor_service_profile N/A self ctx N/A service_profile N/A id N/A sp N/A id N/A fl N/A id N/A providers N/A N/A N/A self plugin get_flavor_next_provider N/A self ctx N/A fl N/A id N/A N/A N/A self assertEqual _provider N/A N/A N/A providers N/A 0 get provider None N/A N/A