Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Dict NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr TupleLoad Str ListLoad Str Str Num TupleLoad Str ListLoad Str Str Num TupleLoad Str ListLoad Str Str Num TupleLoad Str ListLoad Str Str Num TupleLoad Str ListLoad Str Str Num TupleLoad Str ListLoad Str Str Num AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults kwarg Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword ListLoad Dict NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword ListLoad Dict NameLoad Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword ListLoad Dict NameLoad Num decorator_list Call AttributeLoad NameLoad attr Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword ListLoad Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num keyword Dict Str Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Dict IfExp NameLoad Str Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num Num Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str keyword Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Num Num Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Dict Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Dict Str Str Assign NameStore Dict Str Str Assign NameStore BoolOpOr NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Assign SubscriptStore NameLoad Index Str BoolOpOr NameLoad ListLoad Dict Str Str Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword ListLoad Dict Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Num keyword Num Call AttributeLoad NameLoad attr Str Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad keyword Num keyword Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Dict Str Str NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad keyword Num keyword Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad keyword Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad Dict Str Str NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Num Num keyword Num keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Dict Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Str Num keyword Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Dict Str NameLoad Dict Str Num AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str decorator_list AttributeLoad NameLoad attr
N/A N/A ddt N/A mock rally exceptions rally_exceptions rally.plugins.openstack.scenarios.nova servers tests.unit fakes tests.unit test N/A NOVA_SERVERS_MODULE rally.plugins.openstack.scenarios.nova.servers N/A NOVA_SERVERS N/A NOVA_SERVERS_MODULE .NovaServers NovaServersTestCase N/A N/A test ScenarioTestCase N/A test_action_pair N/A N/A self action_pair methods nof_calls N/A N/A N/A actions N/A N/A action_pair nof_calls N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A method methods N/A N/A N/A setattr scenario method N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_bounce_server img 1 actions actions N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 1 N/A server_calls N/A N/A i N/A range nof_calls N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A method methods N/A N/A mocked_method N/A getattr scenario method N/A N/A N/A self assertEqual nof_calls N/A mocked_method call_count N/A %s not called %d times N/A method nof_calls N/A N/A N/A mocked_method assert_has_calls server_calls N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A N/A N/A ddt data N/A rescue_unrescue N/A _rescue_server _unrescue_server 1 N/A stop_start N/A _stop_server _start_server 2 N/A pause_unpause N/A _pause_server _unpause_server 3 N/A suspend_resume N/A _suspend_server _resume_server 4 N/A lock_unlock N/A _lock_server _unlock_server 5 N/A shelve_unshelve N/A _shelve_server _unshelve_server 6 N/A ddt unpack test_multiple_bounce_actions N/A N/A self N/A N/A N/A actions N/A N/A hard_reboot 5 N/A stop_start 8 N/A rescue_unrescue 3 N/A pause_unpause 2 N/A suspend_resume 4 N/A lock_unlock 6 N/A shelve_unshelve 7 N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario _reboot_server N/A N/A mock MagicMock N/A N/A scenario _stop_and_start_server N/A N/A mock MagicMock N/A N/A scenario _rescue_and_unrescue_server N/A N/A mock MagicMock N/A N/A scenario _pause_and_unpause_server N/A N/A mock MagicMock N/A N/A scenario _suspend_and_resume_server N/A N/A mock MagicMock N/A N/A scenario _lock_and_unlock_server N/A N/A mock MagicMock N/A N/A scenario _shelve_and_unshelve_server N/A N/A mock MagicMock N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A N/A scenario boot_and_bounce_server img 1 actions actions N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 1 N/A server_calls N/A N/A i N/A range 5 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 5 N/A N/A scenario _reboot_server call_count Reboot not called 5 times N/A N/A N/A N/A scenario _reboot_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 8 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 8 N/A N/A scenario _stop_and_start_server call_count Stop/Start not called 8 times N/A N/A N/A N/A scenario _stop_and_start_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 3 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 3 N/A N/A scenario _rescue_and_unrescue_server call_count Rescue/Unrescue not called 3 times N/A N/A N/A N/A scenario _rescue_and_unrescue_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 2 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 2 N/A N/A scenario _pause_and_unpause_server call_count Pause/Unpause not called 2 times N/A N/A N/A N/A scenario _pause_and_unpause_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 4 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 4 N/A N/A scenario _suspend_and_resume_server call_count Suspend/Resume not called 4 times N/A N/A N/A N/A scenario _suspend_and_resume_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 6 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 6 N/A N/A scenario _lock_and_unlock_server call_count Lock/Unlock not called 6 times N/A N/A N/A N/A scenario _lock_and_unlock_server assert_has_calls server_calls N/A server_calls N/A N/A i N/A range 7 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A N/A N/A self assertEqual 7 N/A N/A scenario _shelve_and_unshelve_server call_count Shelve/Unshelve not called 7 times N/A N/A N/A N/A scenario _shelve_and_unshelve_server assert_has_calls server_calls N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_boot_lock_unlock_and_delete N/A N/A self N/A N/A N/A server N/A N/A fakes FakeServer N/A image N/A N/A fakes FakeImage N/A flavor N/A N/A fakes FakeFlavor N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock Mock return_value server N/A N/A scenario _lock_server N/A N/A mock Mock side_effect N/A N/A N/A s N/A N/A N/A s lock N/A N/A scenario _unlock_server N/A N/A mock Mock side_effect N/A N/A N/A s N/A N/A N/A s unlock N/A N/A scenario _delete_server N/A N/A mock Mock side_effect N/A N/A N/A s N/A kwargs N/A N/A self assertFalse N/A getattr s OS-EXT-STS:locked False N/A N/A N/A scenario boot_lock_unlock_and_delete image flavor fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with image flavor fakearg fakearg N/A N/A N/A N/A scenario _lock_server assert_called_once_with server N/A N/A N/A N/A scenario _unlock_server assert_called_once_with server N/A N/A N/A N/A scenario _delete_server assert_called_once_with server force False N/A test_validate_actions N/A N/A self action N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A N/A self assertRaises N/A rally_exceptions InvalidConfigException N/A scenario boot_and_bounce_server 1 1 actions N/A N/A action no N/A N/A N/A self assertRaises N/A rally_exceptions InvalidConfigException N/A scenario boot_and_bounce_server 1 1 actions N/A N/A action -1 N/A N/A N/A self assertRaises N/A rally_exceptions InvalidConfigException N/A scenario boot_and_bounce_server 1 1 actions N/A N/A action 0 N/A N/A N/A ddt data hard_reboot soft_reboot stop_start rescue_unrescue pause_unpause suspend_resume lock_unlock shelve_unshelve test_validate_actions_additional N/A N/A self N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A N/A self assertRaises N/A rally_exceptions InvalidConfigException N/A scenario boot_and_bounce_server 1 1 actions N/A N/A not_existing_action no N/A N/A N/A self assertRaises N/A rally_exceptions InvalidConfigException N/A scenario boot_and_bounce_server 1 1 actions N/A hard_reboot 1 N/A _verify_reboot N/A N/A self soft N/A True N/A N/A actions N/A N/A N/A soft soft_reboot hard_reboot 5 N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _reboot_server N/A N/A mock MagicMock N/A N/A scenario _soft_reboot_server N/A N/A mock MagicMock N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A N/A scenario boot_and_bounce_server img 1 actions actions N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 1 N/A server_calls N/A N/A i N/A range 5 N/A N/A N/A N/A server_calls append N/A N/A mock call fake_server N/A soft N/A N/A N/A N/A self assertEqual 5 N/A N/A scenario _soft_reboot_server call_count Reboot not called 5 times N/A N/A N/A N/A scenario _soft_reboot_server assert_has_calls server_calls N/A N/A N/A N/A self assertEqual 5 N/A N/A scenario _reboot_server call_count Reboot not called 5 times N/A N/A N/A N/A scenario _reboot_server assert_has_calls server_calls N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_boot_soft_reboot N/A N/A self N/A N/A N/A N/A N/A self _verify_reboot soft True N/A test_boot_hard_reboot N/A N/A self N/A N/A N/A N/A N/A self _verify_reboot soft False N/A test_boot_and_delete_server N/A N/A self N/A N/A N/A fake_server N/A object N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_delete_server img 0 10 20 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_boot_and_delete_multiple_servers N/A N/A self N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_servers N/A N/A mock Mock N/A N/A scenario _delete_servers N/A N/A mock Mock N/A N/A scenario sleep_between N/A N/A mock Mock N/A N/A N/A scenario boot_and_delete_multiple_servers img flavor count 15 min_sleep 10 max_sleep 20 fakearg fakearg N/A N/A N/A N/A scenario _boot_servers assert_called_once_with img flavor 1 instances_amount 15 fakearg fakearg N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _delete_servers assert_called_once_with N/A N/A scenario _boot_servers return_value force False N/A test_boot_and_list_server N/A N/A self N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock N/A N/A scenario _list_servers N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_list_server img 0 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario _list_servers assert_called_once_with True N/A test_suspend_and_resume_server N/A N/A self N/A N/A N/A fake_server N/A object N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _suspend_server N/A N/A mock MagicMock N/A N/A scenario _resume_server N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A N/A scenario suspend_and_resume_server img 0 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario _suspend_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _resume_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_pause_and_unpause_server N/A N/A self N/A N/A N/A fake_server N/A object N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _pause_server N/A N/A mock MagicMock N/A N/A scenario _unpause_server N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A N/A scenario pause_and_unpause_server img 0 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario _pause_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _unpause_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_shelve_and_unshelve_server N/A N/A self N/A N/A N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _shelve_server N/A N/A mock MagicMock N/A N/A scenario _unshelve_server N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A N/A scenario shelve_and_unshelve_server img 0 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario _shelve_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _unshelve_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_list_servers N/A N/A self N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _list_servers N/A N/A mock MagicMock N/A N/A N/A scenario list_servers True N/A N/A N/A N/A scenario _list_servers assert_called_once_with True N/A test_boot_server_from_volume_and_delete N/A N/A self N/A N/A N/A fake_server N/A object N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A fake_volume N/A N/A N/A N/A fakes FakeVolumeManager create N/A N/A fake_volume id volume_id N/A N/A scenario _create_volume N/A N/A mock MagicMock return_value fake_volume N/A N/A N/A scenario boot_server_from_volume_and_delete img 0 5 10 20 fakearg f N/A N/A N/A N/A scenario _create_volume assert_called_once_with 5 imageRef img N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 block_device_mapping N/A vda volume_id:::1 fakearg f N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A _prepare_boot N/A N/A self nic assert_nic N/A None False N/A N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A kwargs N/A fakearg f N/A expected_kwargs N/A fakearg f N/A assert_nic N/A nic assert_nic N/A nic N/A N/A N/A kwargs N/A nics nic N/A assert_nic N/A N/A N/A N/A N/A N/A N/A self clients nova networks create net-1 N/A N/A expected_kwargs N/A nics N/A nic N/A N/A net-id net-2 N/A N/A scenario kwargs expected_kwargs N/A _verify_boot_server N/A N/A self nic assert_nic N/A None False N/A N/A N/A scenario kwargs expected_kwargs N/A N/A self _prepare_boot nic nic assert_nic assert_nic N/A N/A N/A scenario boot_server img 0 kwargs N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 auto_assign_nic False expected_kwargs N/A test_boot_server_no_nics N/A N/A self N/A N/A N/A N/A N/A self _verify_boot_server nic None assert_nic False N/A test_boot_server_with_nic N/A N/A self N/A N/A N/A N/A N/A self _verify_boot_server nic N/A N/A net-id net-1 assert_nic True N/A test_snapshot_server N/A N/A self N/A N/A N/A fake_server N/A object N/A fake_image N/A N/A N/A N/A fakes FakeImageManager _create N/A N/A fake_image id image_id N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _create_image N/A N/A mock MagicMock return_value fake_image N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario _delete_image N/A N/A mock MagicMock N/A N/A N/A scenario snapshot_server i 0 fakearg 2 N/A N/A N/A N/A scenario _boot_server assert_has_calls N/A N/A N/A mock call i 0 fakearg 2 N/A N/A mock call image_id 0 fakearg 2 N/A N/A N/A N/A scenario _create_image assert_called_once_with fake_server N/A N/A N/A N/A scenario _delete_server assert_has_calls N/A N/A N/A mock call fake_server force False N/A N/A mock call fake_server force False N/A N/A N/A N/A scenario _delete_image assert_called_once_with fake_image N/A _test_resize N/A N/A self confirm N/A False N/A N/A fake_server N/A object N/A fake_image N/A N/A N/A N/A fakes FakeImageManager _create N/A N/A fake_image id image_id N/A flavor N/A N/A mock MagicMock N/A to_flavor N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _resize_confirm N/A N/A mock MagicMock N/A N/A scenario _resize_revert N/A N/A mock MagicMock N/A N/A scenario _resize N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A kwargs N/A confirm confirm N/A N/A N/A scenario resize_server fake_image flavor to_flavor kwargs N/A N/A N/A N/A scenario _resize assert_called_once_with fake_server to_flavor N/A confirm N/A N/A N/A N/A N/A scenario _resize_confirm assert_called_once_with fake_server N/A N/A N/A N/A N/A scenario _resize_revert assert_called_once_with fake_server N/A test_resize_with_confirm N/A N/A self N/A N/A N/A N/A N/A self _test_resize confirm True N/A test_resize_with_revert N/A N/A self N/A N/A N/A N/A N/A self _test_resize confirm False N/A test_boot_server_attach_created_volume_and_resize N/A N/A self confirm do_delete N/A False False N/A N/A fake_volume N/A N/A mock MagicMock N/A fake_server N/A N/A mock MagicMock N/A flavor N/A N/A mock MagicMock N/A to_flavor N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _create_volume N/A N/A mock MagicMock return_value fake_volume N/A N/A scenario _attach_volume N/A N/A mock MagicMock N/A N/A scenario _resize_confirm N/A N/A mock MagicMock N/A N/A scenario _resize_revert N/A N/A mock MagicMock N/A N/A scenario _resize N/A N/A mock MagicMock N/A N/A scenario _detach_volume N/A N/A mock MagicMock N/A N/A scenario _delete_volume N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A volume_size 10 N/A N/A N/A scenario boot_server_attach_created_volume_and_resize img flavor to_flavor volume_size min_sleep 10 max_sleep 20 confirm confirm do_delete do_delete N/A N/A N/A N/A scenario _boot_server assert_called_once_with img flavor N/A N/A N/A N/A scenario _create_volume assert_called_once_with volume_size N/A N/A N/A N/A scenario _attach_volume assert_called_once_with fake_server fake_volume N/A N/A N/A N/A scenario _detach_volume assert_called_once_with fake_server fake_volume N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _resize assert_called_once_with fake_server to_flavor N/A confirm N/A N/A N/A N/A N/A scenario _resize_confirm assert_called_once_with fake_server N/A N/A N/A N/A N/A scenario _resize_revert assert_called_once_with fake_server N/A do_delete N/A N/A N/A N/A N/A scenario _detach_volume assert_called_once_with fake_server fake_volume N/A N/A N/A N/A scenario _delete_volume assert_called_once_with fake_volume N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A N/A N/A ddt data N/A confirm do_delete True True N/A confirm do_delete False True N/A ddt unpack test_boot_server_from_volume_and_resize N/A N/A self confirm do_delete N/A False False N/A N/A fake_server N/A object N/A flavor N/A N/A mock MagicMock N/A to_flavor N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _resize_confirm N/A N/A mock MagicMock N/A N/A scenario _resize_revert N/A N/A mock MagicMock N/A N/A scenario _resize N/A N/A mock MagicMock N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A fake_volume N/A N/A N/A N/A fakes FakeVolumeManager create N/A N/A fake_volume id volume_id N/A N/A scenario _create_volume N/A N/A mock MagicMock return_value fake_volume N/A volume_size 10 N/A N/A N/A scenario boot_server_from_volume_and_resize img flavor to_flavor volume_size min_sleep 10 max_sleep 20 confirm confirm do_delete do_delete N/A N/A N/A N/A scenario _create_volume assert_called_once_with 10 imageRef img N/A N/A N/A N/A scenario _boot_server assert_called_once_with img flavor block_device_mapping N/A vda volume_id:::1 N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _resize assert_called_once_with fake_server to_flavor N/A confirm N/A N/A N/A N/A N/A scenario _resize_confirm assert_called_once_with fake_server N/A N/A N/A N/A N/A scenario _resize_revert assert_called_once_with fake_server N/A do_delete N/A N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A N/A N/A ddt data N/A confirm do_delete True True N/A confirm do_delete False True N/A ddt unpack test_boot_and_live_migrate_server N/A N/A self N/A N/A N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A scenario _find_host_to_migrate N/A N/A mock MagicMock return_value host_name N/A N/A scenario _live_migrate N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_live_migrate_server img 0 min_sleep 10 max_sleep 20 fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _find_host_to_migrate assert_called_once_with fake_server N/A N/A N/A N/A scenario _live_migrate assert_called_once_with fake_server host_name False False N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server N/A test_boot_server_from_volume_and_live_migrate N/A N/A self N/A N/A N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A scenario _find_host_to_migrate N/A N/A mock MagicMock return_value host_name N/A N/A scenario _live_migrate N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A fake_volume N/A N/A N/A N/A fakes FakeVolumeManager create N/A N/A fake_volume id volume_id N/A N/A scenario _create_volume N/A N/A mock MagicMock return_value fake_volume N/A N/A N/A scenario boot_server_from_volume_and_live_migrate img 0 5 min_sleep 10 max_sleep 20 fakearg f N/A N/A N/A N/A scenario _create_volume assert_called_once_with 5 imageRef img N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 block_device_mapping N/A vda volume_id:::1 fakearg f N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _find_host_to_migrate assert_called_once_with fake_server N/A N/A N/A N/A scenario _live_migrate assert_called_once_with fake_server host_name False False N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server force False N/A test_boot_server_attach_created_volume_and_live_migrate N/A N/A self N/A N/A N/A fake_volume N/A N/A mock MagicMock N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _attach_volume N/A N/A mock MagicMock N/A N/A scenario _detach_volume N/A N/A mock MagicMock N/A N/A scenario sleep_between N/A N/A mock MagicMock N/A N/A scenario _find_host_to_migrate N/A N/A mock MagicMock return_value host_name N/A N/A scenario _live_migrate N/A N/A mock MagicMock N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A N/A scenario _create_volume N/A N/A mock MagicMock return_value fake_volume N/A N/A scenario _delete_volume N/A N/A mock MagicMock N/A image img N/A flavor flavor N/A size 5 N/A boot_kwargs N/A some_var asd N/A N/A N/A scenario boot_server_attach_created_volume_and_live_migrate image flavor size min_sleep 10 max_sleep 20 boot_server_kwargs boot_kwargs N/A N/A N/A N/A scenario _boot_server assert_called_once_with image flavor boot_kwargs N/A N/A N/A N/A scenario _create_volume assert_called_once_with size N/A N/A N/A N/A scenario _attach_volume assert_called_once_with fake_server fake_volume N/A N/A N/A N/A scenario _detach_volume assert_called_once_with fake_server fake_volume N/A N/A N/A N/A scenario sleep_between assert_called_once_with 10 20 N/A N/A N/A N/A scenario _live_migrate assert_called_once_with fake_server host_name False False N/A N/A N/A N/A scenario _delete_volume assert_called_once_with fake_volume N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server N/A _test_boot_and_migrate_server N/A N/A self confirm N/A False N/A N/A fake_server N/A N/A mock MagicMock N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario generate_random_name N/A N/A mock MagicMock return_value name N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value fake_server N/A N/A scenario _stop_server N/A N/A mock MagicMock N/A N/A scenario _migrate N/A N/A mock MagicMock N/A N/A scenario _resize_confirm N/A N/A mock MagicMock N/A N/A scenario _resize_revert N/A N/A mock MagicMock N/A N/A scenario _delete_server N/A N/A mock MagicMock N/A kwargs N/A confirm confirm N/A N/A N/A scenario boot_and_migrate_server img 0 fakearg fakearg kwargs N/A N/A N/A N/A scenario _boot_server assert_called_once_with img 0 fakearg fakearg confirm confirm N/A N/A N/A N/A scenario _stop_server assert_called_once_with fake_server N/A N/A N/A N/A scenario _migrate assert_called_once_with fake_server N/A confirm N/A N/A N/A N/A N/A scenario _resize_confirm assert_called_once_with fake_server status SHUTOFF N/A N/A N/A N/A N/A scenario _resize_revert assert_called_once_with fake_server status SHUTOFF N/A N/A N/A N/A scenario _delete_server assert_called_once_with fake_server N/A test_boot_and_migrate_server_with_confirm N/A N/A self N/A N/A N/A N/A N/A self _test_boot_and_migrate_server confirm True N/A test_boot_and_migrate_server_with_revert N/A N/A self N/A N/A N/A N/A N/A self _test_boot_and_migrate_server confirm False N/A test_boot_and_rebuild_server N/A N/A self N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock Mock N/A N/A scenario _rebuild_server N/A N/A mock Mock N/A N/A scenario _delete_server N/A N/A mock Mock N/A from_image img1 N/A to_image img2 N/A flavor flavor N/A N/A N/A scenario boot_and_rebuild_server from_image to_image flavor fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with from_image flavor fakearg fakearg N/A server N/A N/A scenario _boot_server return_value N/A N/A N/A N/A scenario _rebuild_server assert_called_once_with server to_image N/A N/A N/A N/A scenario _delete_server assert_called_once_with server N/A test_boot_and_show_server N/A N/A self N/A N/A N/A server N/A N/A fakes FakeServer N/A image N/A N/A fakes FakeImage N/A flavor N/A N/A fakes FakeFlavor N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value server N/A N/A scenario _show_server N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_show_server image flavor fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with image flavor fakearg fakearg N/A N/A N/A N/A scenario _show_server assert_called_once_with server N/A test_boot_and_get_console_server N/A N/A self length N/A N/A N/A server N/A N/A fakes FakeServer N/A image N/A N/A fakes FakeImage N/A flavor N/A N/A fakes FakeFlavor N/A kwargs N/A fakearg fakearg N/A scenario N/A N/A servers NovaServers N/A self context N/A N/A scenario _boot_server N/A N/A mock MagicMock return_value server N/A N/A scenario _get_server_console_output N/A N/A mock MagicMock N/A N/A N/A scenario boot_and_get_console_output image flavor length kwargs N/A N/A N/A N/A scenario _boot_server assert_called_once_with image flavor kwargs N/A N/A N/A N/A scenario _get_server_console_output assert_called_once_with server length N/A N/A N/A ddt data N/A length None N/A length 10 N/A ddt unpack test_boot_and_associate_floating_ip N/A N/A self mock_wrap N/A N/A N/A scenario N/A N/A servers NovaServers N/A self context N/A server N/A N/A mock Mock N/A N/A scenario _boot_server N/A N/A mock Mock return_value server N/A N/A scenario _associate_floating_ip N/A N/A mock Mock N/A image img N/A flavor flavor N/A N/A N/A scenario boot_and_associate_floating_ip image flavor fakearg fakearg N/A N/A N/A N/A scenario _boot_server assert_called_once_with image flavor fakearg fakearg N/A net_wrap N/A mock_wrap return_value N/A N/A N/A N/A net_wrap create_floating_ip assert_called_once_with tenant_id N/A server tenant_id N/A N/A N/A N/A scenario _associate_floating_ip assert_called_once_with server N/A N/A N/A net_wrap create_floating_ip return_value N/A ip N/A N/A N/A mock patch N/A NOVA_SERVERS_MODULE .network_wrapper.wrap N/A N/A ddt ddt