Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad keyword Str keyword NameLoad keyword Str keyword NameLoad keyword Num keyword Num keyword Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Num keyword NameLoad keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword ListLoad Call NameLoad keyword Str keyword Num Call NameLoad keyword Str keyword Num Assign NameStore Call NameLoad keyword ListLoad Call NameLoad keyword Num keyword Str Call NameLoad keyword Num keyword Str Call NameLoad keyword Num keyword Str Assign NameStore Call NameLoad keyword ListLoad Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Dict Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body If BinOpMod NameLoad Num body Return NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult Str Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore ListComp TupleLoad Dict Dict NameLoad NameLoad Dict NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad TupleLoad Str BinOpMod Str NameLoad TupleLoad NameLoad NameLoad NameLoad TupleLoad Num Num TupleLoad Dict Dict Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore IfExp NameLoad Str IfExp NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore IfExp UnaryOpNot NameLoad Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpAdd BinOpMult Str Call NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore ListComp TupleLoad Dict Dict NameLoad NameLoad Dict NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad TupleLoad Str Str TupleLoad NameLoad Str TupleLoad TupleLoad Num Num Num TupleLoad Dict Dict Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore IfExp NameLoad BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpAdd BinOpMult Str Call NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad IfExp NameLoad BinOpMod Str NameLoad Str Assign NameStore ListComp TupleLoad Dict Dict NameLoad NameLoad Dict NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad TupleLoad BinOpMod Str NameLoad Str TupleLoad NameLoad Dict Str Dict Str Str ListLoad Str Dict Str Str Str Str Str TupleLoad Num Num TupleLoad Dict Dict Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign NameStore IfExp NameLoad TupleLoad NameLoad TupleLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad IfExp NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Str Assign SubscriptStore NameLoad Index Str IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num ListLoad Call NameLoad Str Str Call NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpAdd BinOpMult Str Call NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad IfExp NameLoad BinOpMod Str NameLoad Str Assign NameStore ListComp TupleLoad Dict Dict NameLoad NameLoad Dict NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad TupleLoad Str BinOpMod Str NameLoad TupleLoad NameLoad ListLoad Call NameLoad keyword Str Call NameLoad keyword Str TupleLoad Num Num TupleLoad Dict Dict Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad IfExp NameLoad BinOpMod Str NameLoad Str If NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num ListLoad Call NameLoad Str Str Call NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad keyword NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice UnaryOpUSub Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpAdd BinOpMult Str Call NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad IfExp NameLoad BinOpMod Str NameLoad Str Assign NameStore IfExp NameLoad TupleLoad Str Str TupleLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad Call NameLoad TupleLoad BinOpMod Str NameLoad Str TupleLoad Num Num TupleLoad Dict Dict Str Str NameLoad body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore IfExp NameLoad SubscriptLoad NameLoad Index Num Str Assign NameStore IfExp NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad Expr Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore IfExp NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print BinOpAdd BinOpMult Str Call NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad keyword TupleLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad keyword TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad TupleLoad Num Num TupleLoad Dict Dict Str Str body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad Str keyword NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad TupleLoad Str Str TupleLoad Num Num TupleLoad Dict Dict Str Str body Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore IfExp UnaryOpNot NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad BinOpMod Str NameLoad keyword NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad TupleLoad NameLoad ListLoad Call NameLoad keyword Str Call NameLoad keyword Str TupleLoad Str Str TupleLoad Num Num TupleLoad Dict Dict Str Str body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num NameLoad Assign NameStore IfExp UnaryOpNot NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad BinOpMod Str NameLoad keyword NameLoad keyword NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad TupleLoad Str Str TupleLoad Num TupleLoad Dict Dict Str Str body Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Slice Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore IfExp UnaryOpNot NameLoad Str BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad BinOpMod Str NameLoad keyword NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Call NameLoad Str keyword Num body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad For NameStore Call NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad NameLoad Dict Str Str Str Str body Assign NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad TupleLoad Str Str Str body If SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Call NameLoad NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad For NameStore Call AttributeLoad Call NameLoad ListLoad Str Str Str attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore Call NameLoad TupleLoad NameLoad NameLoad TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad For NameStore SubscriptLoad NameLoad Slice Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore Call AttributeLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Num Call NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For NameStore Call NameLoad TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str TupleLoad Dict Call NameLoad keyword Str body Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad For NameStore Call AttributeLoad Call NameLoad ListLoad Str Str Str Str Str Str Str Str attr NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore BinOpAdd NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad keyword Call NameLoad keyword NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str For NameStore TupleLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad keyword Call NameLoad keyword Call NameLoad keyword IfExp NameLoad Str Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad keyword Call NameLoad keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad BinOpMod Str NameLoad keyword Call NameLoad keyword Dict NameLoad NameLoad keyword Num decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad keyword Dict NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad keyword NameLoad keyword Num decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad For NameStore TupleLoad Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad keyword Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore TupleLoad Str Str body Assign AttributeStore NameLoad attr IfExp NameLoad Call NameLoad keyword SubscriptLoad NameLoad Index Str Call NameLoad keyword SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad BoolOpOr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad keyword Str keyword Num keyword Str keyword Str keyword Str For NameStore Call NameLoad TupleLoad Str Str TupleLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore IfExp NameLoad Call NameLoad keyword NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad Call NameLoad keyword Str keyword Num keyword Str keyword Str keyword Str For NameStore Call NameLoad TupleLoad Str Str TupleLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad TupleLoad Str Str TupleLoad NameLoad Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad NameLoad NameLoad decorator_list Call NameLoad BinOpMod Str NameLoad keyword Call NameLoad decorator_list If CompareEq NameLoad Str body ImportFrom alias ImportFrom alias Assign NameStore NameLoad If BoolOpOr UnaryOpNot SubscriptLoad NameLoad Slice Num CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore NameLoad Expr Call NameLoad NameLoad Str SubscriptLoad NameLoad Slice Num If BoolOpOr UnaryOpNot SubscriptLoad NameLoad Slice Num CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore NameLoad Expr Call NameLoad NameLoad Str SubscriptLoad NameLoad Slice Num If NameLoad body Print BinOpMod Str SubscriptLoad NameLoad Index Num
N/A mock patch call unittest TestCase itertools product json dumps sys stdout N/A json kamaki.clients ClientError compute N/A rest_pkg kamaki.clients.compute.rest_api.ComputeRestClient N/A compute_pkg kamaki.clients.compute.ComputeClient N/A img_ref 1m4g3-r3f3r3nc3 N/A vm_name my new VM N/A fid 42 N/A vm_send N/A dict server N/A dict flavorRef fid name vm_name imageRef img_ref metadata N/A dict os debian users root N/A vm_recv N/A dict server N/A dict status BUILD updated 2013-03-01T10:04:00.637152+00:00 hostId name vm_name imageRef img_ref created 2013-03-01T10:04:00.087324+00:00 flavorRef fid adminPass n0n3sh@11p@55 suspended False progress 0 id 31173 metadata N/A dict os debian users root N/A img_recv N/A dict image N/A dict status ACTIVE updated 2013-02-26T11:10:14+00:00 name Debian Base created 2013-02-26T11:03:29+00:00 progress 100 id img_ref metadata N/A dict partition_table msdos kernel 2.6.32 osfamily linux users root gui No GUI sortorder 1 os debian root_partition 1 description Debian 6.0.7 (Squeeze) Base System N/A vm_list N/A dict servers N/A N/A dict name n1 id 1 N/A dict name n2 id 2 N/A flavor_list N/A dict flavors N/A N/A dict id 41 name C1R1024D20 N/A dict id 42 name C1R1024D40 N/A dict id 43 name C1R1028D20 N/A img_list N/A dict images N/A N/A dict name maelstrom id 0fb03e45-7d5a-4515-bd4e-e6bbf6457f06 N/A dict name edx_saas id 1357163d-5fd8-488e-a117-48734c526206 N/A dict name Debian_Wheezy_Base id 1f8454f0-8e3e-4b6c-ab8e-5236b728dffe N/A dict name CentOS id 21894b48-c805-4568-ac8b-7d4bb8eb533d N/A dict name Ubuntu Desktop id 37bc522c-c479-4085-bfb9-464f9b9e2e31 N/A dict name Ubuntu 12.10 id 3a24fef9-1a8c-47d1-8f11-e07bd5e544fd N/A dict name Debian Base id 40ace203-6254-4e17-a5cb-518d55418a7d N/A dict name ubuntu_bundled id 5336e265-5c7c-4127-95cb-2bf832a79903 FR N/A object N/A N/A FR stands for Fake Response N/A json vm_recv N/A headers N/A N/A content json N/A status None N/A status_code 200 N/A print_iterations N/A N/A old new N/A N/A N/A new N/A N/A N/A new 1000 N/A N/A old N/A N/A N/A stdout write N/A N/A len N/A %s old N/A N/A N/A stdout write N/A %s new N/A N/A N/A N/A stdout write # of loops:   N/A N/A N/A stdout flush N/A new N/A ComputeRestClient N/A TestCase N/A N/A Set up a ComputesRest thorough test setUp N/A N/A self N/A N/A N/A N/A self url http://cyclades.example.com N/A N/A self token cyc14d3s70k3n N/A N/A self client N/A N/A compute ComputeRestClient N/A self url N/A self token N/A tearDown N/A N/A self N/A N/A N/A N/A FR json vm_recv N/A _test_get N/A N/A self service params get set_param N/A N/A N/A method N/A getattr N/A self client N/A %s_get service N/A param_args N/A N/A N/A N/A k k N/A k N/A v N/A 1 N/A N/A k v N/A N/A params items N/A num_of_its 0 N/A N/A i args N/A enumerate N/A product N/A N/A %s_id service N/A None False True N/A 200 204 N/A N/A N/A k v param_args N/A N/A N/A srv_id detail success kwargs N/A args N/A 4 N/A N/A kwargs N/A success success N/A srv_kwargs N/A dict N/A param N/A args N/A 4 N/A N/A N/A N/A srv_kwargs update param N/A N/A N/A srv_kwargs update kwargs N/A N/A method N/A args N/A 2 srv_kwargs N/A srv_str N/A detail /detail N/A srv_id N/A /%s srv_id N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call N/A /%s%s N/A service srv_str kwargs N/A param_calls N/A N/A N/A k v N/A N/A params items N/A N/A real_v N/A N/A srv_id N/A N/A srv_kwargs get k N/A v N/A 1 N/A v N/A 1 N/A N/A N/A param_calls append N/A call N/A v N/A 0 real_v iff real_v N/A actual N/A N/A set_param mock_calls N/A N/A N/A len param_calls N/A N/A N/A self assertEqual N/A sorted actual N/A sorted param_calls N/A num_of_its N/A print_iterations num_of_its i N/A N/A N/A N/A len N/A %s num_of_its N/A %s i N/A N/A patch N/A %s.set_param rest_pkg N/A patch N/A %s.get rest_pkg return_value N/A FR _test_srv_cmd_get N/A N/A self srv cmd params get set_param N/A N/A N/A method N/A getattr N/A self client N/A %s_%s_get N/A srv cmd N/A param_args N/A N/A N/A N/A k k N/A k N/A v N/A 1 N/A N/A k v N/A N/A params items N/A num_of_its 0 N/A N/A i args N/A enumerate N/A product N/A some_server_id other_server_id N/A None xtra_id N/A N/A 304 200 1000 N/A N/A N/A k v param_args N/A N/A N/A srv_id xtra_id success kwargs N/A args N/A 4 N/A kwargs N/A dict kwargs N/A N/A kwargs N/A success success N/A srv_kwargs N/A dict N/A param N/A args N/A 4 N/A N/A N/A N/A srv_kwargs update param N/A N/A N/A srv_kwargs update kwargs N/A N/A method N/A args N/A 2 srv_kwargs N/A srv_str N/A /%s/%s/%s N/A srv srv_id cmd N/A srv_str N/A xtra_id N/A /%s xtra_id N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call srv_str kwargs N/A param_calls N/A N/A N/A k v N/A N/A params items N/A N/A real_v N/A N/A srv_kwargs get k N/A v N/A 1 N/A N/A N/A param_calls append N/A call N/A v N/A 0 real_v iff real_v N/A actual N/A N/A set_param mock_calls N/A N/A N/A len param_calls N/A N/A N/A self assertEqual N/A sorted actual N/A sorted param_calls N/A num_of_its N/A print_iterations num_of_its i N/A N/A N/A N/A len N/A %s num_of_its N/A %s i N/A N/A patch N/A %s.set_param rest_pkg N/A patch N/A %s.get rest_pkg return_value N/A FR _test_post N/A N/A self srv cmd params post set_param set_header N/A N/A N/A method N/A getattr N/A self client N/A %s_%spost N/A srv N/A cmd N/A %s_ cmd N/A param_args N/A N/A N/A N/A k k N/A k N/A v N/A 1 N/A N/A k v N/A N/A params items N/A num_of_its 0 N/A N/A i args N/A enumerate N/A product N/A N/A %s_id srv some_value N/A None N/A some N/A data in json N/A k1 N/A k2 k3 v2 v3 k4 N/A 202 1453 N/A N/A N/A k v param_args N/A N/A N/A srv_id json_data success kwargs N/A args N/A 4 N/A kwargs N/A dict kwargs N/A cmd_args N/A cmd N/A srv_id N/A N/A N/A kwargs N/A success success N/A srv_kwargs N/A dict N/A param N/A args N/A 4 N/A N/A N/A N/A srv_kwargs update param N/A N/A N/A srv_kwargs update kwargs N/A N/A srv_kwargs N/A json_data json_data N/A N/A method cmd_args srv_kwargs N/A srv_str N/A /%s%s N/A srv N/A cmd N/A /%s/%s N/A srv_id cmd N/A N/A kwargs N/A data N/A json_data N/A N/A json dumps json_data None N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call srv_str kwargs N/A param_calls N/A N/A N/A k v N/A N/A params items N/A N/A real_v N/A N/A srv_kwargs get k N/A v N/A 1 N/A N/A N/A param_calls append N/A call N/A v N/A 0 real_v iff real_v N/A actual N/A N/A set_param mock_calls N/A N/A N/A len param_calls N/A N/A N/A self assertEqual N/A sorted actual N/A sorted param_calls N/A json_data N/A N/A N/A N/A self assertEqual N/A N/A set_header mock_calls N/A -2 N/A N/A call Content-Type application/json N/A call Content-Length N/A len N/A kwargs N/A data N/A num_of_its N/A print_iterations num_of_its i N/A N/A N/A N/A len N/A %s num_of_its N/A %s i N/A N/A patch N/A %s.set_header rest_pkg N/A patch N/A %s.set_param rest_pkg N/A patch N/A %s.post rest_pkg return_value N/A FR _test_put N/A N/A self srv cmd params put set_param set_headers N/A N/A N/A method N/A getattr N/A self client N/A %s_%sput N/A srv N/A cmd N/A %s_ cmd N/A param_args N/A N/A N/A N/A k k N/A k N/A v N/A 1 N/A N/A k v N/A N/A params items N/A num_of_its 0 N/A N/A i args N/A enumerate N/A product N/A some_value N/A %s_id srv N/A None N/A N/A dict json data N/A dict data json N/A 204 504 N/A N/A N/A k v param_args N/A N/A N/A srv_id json_data success kwargs N/A args N/A 4 N/A kwargs N/A dict kwargs N/A N/A kwargs N/A success success N/A srv_kwargs N/A dict N/A param N/A args N/A 4 N/A N/A N/A N/A srv_kwargs update param N/A N/A N/A srv_kwargs update kwargs N/A N/A srv_kwargs N/A json_data json_data N/A N/A method srv_id srv_kwargs N/A srv_str N/A /%s/%s%s N/A srv srv_id N/A cmd N/A /%s cmd N/A json_data N/A N/A json_data N/A dumps json_data N/A N/A N/A self assertEqual N/A N/A set_headers mock_calls N/A -2 N/A N/A call Content-Type application/json N/A call Content-Length N/A len json_data N/A N/A N/A self assertEqual N/A N/A put mock_calls N/A -1 N/A call srv_str data json_data kwargs N/A param_calls N/A N/A N/A k v N/A N/A params items N/A N/A real_v N/A N/A srv_kwargs get k N/A v N/A 1 N/A N/A N/A param_calls append N/A call N/A v N/A 0 real_v iff real_v N/A actual N/A N/A set_param mock_calls N/A N/A N/A len param_calls N/A N/A N/A self assertEqual N/A sorted actual N/A sorted param_calls N/A num_of_its N/A print_iterations num_of_its i N/A N/A N/A N/A len N/A %s num_of_its N/A %s i N/A N/A patch N/A %s.set_header rest_pkg N/A patch N/A %s.set_param rest_pkg N/A patch N/A %s.put rest_pkg return_value N/A FR _test_delete N/A N/A self srv cmd delete N/A N/A N/A method N/A getattr N/A self client N/A %s_%sdelete N/A srv N/A cmd N/A %s_ cmd N/A cmd_params N/A cmd N/A some_cmd_value some_other_value N/A N/A num_of_its 0 N/A N/A i args N/A enumerate N/A product N/A N/A %s_id srv some_value N/A 204 208 N/A N/A N/A k v cmd_params N/A N/A N/A srv_id success kwargs N/A args N/A 3 N/A kwargs N/A dict kwargs N/A N/A kwargs N/A success success N/A cmd_value N/A cmd N/A args N/A -1 N/A method_args N/A cmd N/A srv_id cmd_value N/A srv_id N/A N/A method method_args kwargs N/A srv_str N/A /%s/%s N/A srv srv_id N/A cmd_str N/A cmd N/A /%s/%s N/A cmd cmd_value N/A N/A N/A self assertEqual N/A N/A delete mock_calls N/A -1 N/A call N/A %s%s N/A srv_str cmd_str kwargs N/A num_of_its N/A print_iterations num_of_its i N/A N/A N/A N/A len N/A %s num_of_its N/A %s i N/A N/A patch N/A %s.delete rest_pkg return_value N/A FR test_limits_get N/A N/A self get N/A N/A N/A N/A N/A N/A self client limits_get success some_val N/A N/A N/A get assert_called_once_with /limits success some_val N/A N/A patch N/A %s.get rest_pkg return_value N/A FR test_servers_get N/A N/A self N/A N/A N/A params N/A dict changes_since N/A changes-since None image N/A image None flavor N/A flavor None name N/A name None marker N/A marker None limit N/A limit None status N/A status None host N/A host None N/A N/A N/A self _test_get servers params N/A test_servers_post N/A N/A self N/A N/A N/A params N/A dict security_group N/A security_group None user_data N/A user_data None availability_zone N/A availability_zone None N/A N/A N/A self _test_post servers None params N/A test_servers_put N/A N/A self N/A N/A N/A N/A N/A self _test_put servers None N/A dict server_name N/A server None N/A test_servers_delete N/A N/A self N/A N/A N/A N/A N/A self _test_delete servers None N/A test_servers_metadata_get N/A N/A self N/A N/A N/A N/A N/A self _test_srv_cmd_get servers metadata N/A N/A test_servers_metadata_post N/A N/A self N/A N/A N/A N/A N/A self _test_post servers metadata N/A N/A test_servers_metadata_put N/A N/A self N/A N/A N/A N/A N/A self _test_put servers metadata N/A N/A test_images_metadata_delete N/A N/A self N/A N/A N/A N/A N/A self _test_delete images metadata N/A test_servers_action_post N/A N/A self N/A N/A N/A N/A N/A self _test_post servers action N/A N/A test_servers_ips_get N/A N/A self N/A N/A N/A params N/A dict changes_since N/A changes-since None N/A N/A N/A self _test_srv_cmd_get servers ips params N/A test_images_get N/A N/A self N/A N/A N/A param N/A dict changes_since N/A changes-since None server_name N/A server None name N/A name None status N/A status None marker N/A marker None limit N/A limit None type N/A type None N/A N/A N/A self _test_get images param N/A test_images_delete N/A N/A self N/A N/A N/A N/A N/A self _test_delete images None N/A test_images_metadata_get N/A N/A self N/A N/A N/A N/A N/A self _test_srv_cmd_get images metadata N/A N/A test_images_metadata_post N/A N/A self N/A N/A N/A N/A N/A self _test_post images metadata N/A N/A test_images_metadata_put N/A N/A self N/A N/A N/A N/A N/A self _test_put images metadata N/A N/A test_servers_metadata_delete N/A N/A self N/A N/A N/A N/A N/A self _test_delete servers metadata N/A test_flavors_get N/A N/A self N/A N/A N/A params N/A dict changes_since N/A changes-since None minDisk N/A minDisk None minRam N/A minRam None marker N/A marker None limit N/A limit None N/A N/A N/A self _test_get flavors params N/A test_floating_ip_pools_get N/A N/A self get N/A N/A N/A args N/A product N/A 200 204 N/A N/A N/A k v N/A N/A N/A success kwargs args N/A r N/A N/A N/A self client floating_ip_pools_get success kwargs N/A N/A N/A self assertTrue N/A isinstance r FR N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call /os-floating-ip-pools success success kwargs N/A N/A patch N/A %s.get rest_pkg return_value N/A FR test_floating_ips_get N/A N/A self get N/A N/A N/A args N/A product N/A 192.193.194.195 N/A 200 204 N/A N/A N/A k v N/A N/A N/A ip success kwargs args N/A r N/A N/A N/A self client floating_ips_get N/A args N/A 2 kwargs N/A N/A N/A self assertTrue N/A isinstance r FR N/A expected N/A N/A ip N/A /%s ip N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call N/A /os-floating-ips%s expected success success kwargs N/A N/A patch N/A %s.get rest_pkg return_value N/A FR test_floating_ips_post N/A N/A self post N/A N/A N/A args N/A product N/A None N/A N/A dict json data N/A dict data json N/A 192.193.194.195 N/A 202 204 N/A N/A N/A k v N/A N/A N/A json_data ip success kwargs args N/A N/A N/A N/A self client floating_ips_post N/A args N/A 3 kwargs N/A expected N/A N/A ip N/A /%s ip N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call N/A /os-floating-ips%s expected json json_data success success kwargs N/A N/A patch N/A %s.post rest_pkg return_value N/A FR test_floating_ips_delete N/A N/A self delete N/A N/A N/A args N/A product N/A 192.193.194.195 N/A 204 N/A N/A N/A k v N/A N/A N/A ip success kwargs args N/A r N/A N/A N/A self client floating_ips_delete N/A args N/A 2 kwargs N/A N/A N/A self assertTrue N/A isinstance r FR N/A expected N/A N/A ip N/A /%s ip N/A N/A N/A self assertEqual N/A N/A delete mock_calls N/A -1 N/A call N/A /os-floating-ips%s expected success success kwargs N/A N/A patch N/A %s.delete rest_pkg return_value N/A FR N/A ComputeClient N/A TestCase N/A assert_dicts_are_equal N/A N/A self d1 d2 N/A N/A N/A N/A k v N/A N/A d1 items N/A N/A N/A N/A self assertTrue N/A k d2 N/A N/A isinstance v dict N/A N/A N/A N/A self assert_dicts_are_equal v N/A d2 N/A k N/A N/A N/A N/A self assertEqual N/A unicode v N/A unicode N/A d2 N/A k N/A N/A Set up a Cyclades thorough test setUp N/A N/A self N/A N/A N/A N/A self url http://cyclades.example.com N/A N/A self token cyc14d3s70k3n N/A N/A self client N/A N/A compute ComputeClient N/A self url N/A self token N/A tearDown N/A N/A self N/A N/A N/A N/A FR status_code 200 N/A N/A FR json vm_recv N/A test_create_server N/A N/A self N/A N/A N/A N/A N/A patch object N/A compute ComputeClient servers_post side_effect N/A ClientError REQUEST ENTITY TOO LARGE status 403 N/A N/A N/A N/A self assertRaises ClientError N/A N/A self client create_server vm_name fid img_ref N/A params N/A product N/A security_group None N/A user_data None N/A availability_zone None N/A None N/A os users debian root N/A N/A kwargs N/A dict N/A N/A i k N/A enumerate N/A security_group user_data availability_zone N/A N/A N/A params N/A i N/A N/A N/A kwargs N/A k N/A params N/A i N/A N/A N/A patch object N/A compute ComputeClient servers_post return_value N/A FR post N/A N/A r N/A N/A N/A self client create_server vm_name fid img_ref kwargs N/A N/A N/A self assertEqual r N/A N/A FR json N/A server N/A exp_json N/A dict server N/A dict flavorRef fid name vm_name imageRef img_ref N/A k N/A N/A N/A set N/A security_group user_data availability_zone difference kwargs N/A N/A N/A kwargs N/A k None N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call json_data exp_json kwargs N/A prsn Personality string (does not work with real servers) N/A N/A N/A N/A self client create_server vm_name fid img_ref personality prsn kwargs N/A N/A N/A exp_json N/A server N/A personality prsn N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call json_data exp_json kwargs N/A N/A N/A kwargs pop personality None N/A N/A N/A N/A exp_json N/A server pop personality None N/A mtdt Metadata dict here N/A N/A N/A N/A self client create_server vm_name fid img_ref metadata mtdt kwargs N/A N/A N/A exp_json N/A server N/A metadata mtdt N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call json_data exp_json kwargs N/A test_list_servers N/A N/A self SG N/A N/A N/A N/A FR json vm_list N/A args N/A product N/A False True N/A N/A N/A dict status status N/A N/A N/A dict name name N/A N/A N/A dict image image N/A N/A N/A dict flavor flavor N/A N/A N/A dict host host N/A N/A N/A dict limit limit N/A N/A N/A dict marker marker N/A N/A N/A dict changes_since changes_since N/A N/A detail N/A args N/A 0 N/A kwargs N/A dict N/A param N/A args N/A 1 N/A N/A N/A N/A kwargs update param N/A r N/A N/A N/A self client list_servers detail kwargs N/A k N/A N/A N/A set N/A status name image flavor host limit marker changes_since difference kwargs N/A N/A N/A kwargs N/A k None N/A N/A N/A self assertEqual N/A N/A SG mock_calls N/A -1 N/A call detail detail kwargs N/A N/A i vm N/A enumerate N/A vm_list N/A servers N/A N/A N/A N/A self assert_dicts_are_equal N/A r N/A i vm N/A N/A N/A self assertEqual N/A i 1 N/A len r N/A N/A patch N/A %s.servers_get compute_pkg return_value N/A FR test_get_server_details N/A N/A self SG N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A args N/A product N/A N/A N/A dict status status N/A N/A N/A dict name name N/A N/A N/A dict image image N/A N/A N/A dict flavor flavor N/A N/A N/A dict host host N/A N/A N/A dict limit limit N/A N/A N/A dict marker marker N/A N/A N/A dict changes_since changes_since N/A N/A kwargs N/A dict N/A param args N/A N/A N/A N/A kwargs update param N/A r N/A N/A N/A self client get_server_details vm_id kwargs N/A k N/A N/A N/A set N/A status name image flavor host limit marker changes_since difference kwargs N/A N/A N/A kwargs N/A k None N/A N/A N/A self assertEqual N/A N/A SG mock_calls N/A -1 N/A call vm_id kwargs N/A N/A N/A self assert_dicts_are_equal r N/A vm_recv N/A server N/A N/A patch N/A %s.servers_get compute_pkg return_value N/A FR test_update_server_name N/A N/A self SP N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A new_name N/A vm_name _new N/A N/A N/A N/A self client update_server_name vm_id new_name N/A N/A N/A SP assert_called_once_with vm_id json_data N/A dict server N/A dict name new_name N/A N/A patch N/A %s.servers_put compute_pkg return_value N/A FR test_reboot_server N/A N/A self SP N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A hard N/A None True N/A N/A N/A N/A N/A self client reboot_server vm_id hard hard N/A N/A N/A self assertEqual N/A N/A SP mock_calls N/A -1 N/A call vm_id json_data N/A dict reboot N/A dict type N/A hard HARD SOFT N/A N/A patch N/A %s.servers_action_post compute_pkg return_value N/A FR test_resize_server N/A N/A self SP N/A N/A N/A N/A vm_id flavor N/A N/A N/A vm_recv N/A server N/A id N/A N/A flavor_list N/A flavors N/A 1 N/A N/A N/A N/A self client resize_server vm_id N/A flavor N/A id N/A exp N/A dict resize N/A dict flavorRef N/A flavor N/A id N/A N/A N/A SP assert_called_once_with vm_id json_data exp N/A N/A patch N/A %s.servers_action_post compute_pkg return_value N/A FR test_create_server_metadata N/A N/A self SP N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A metadata N/A dict m1 v1 m2 v2 m3 v3 N/A N/A FR json N/A dict meta N/A vm_recv N/A server N/A N/A k v N/A N/A metadata items N/A N/A r N/A N/A N/A self client create_server_metadata vm_id k v N/A N/A N/A self assert_dicts_are_equal r N/A vm_recv N/A server N/A N/A N/A self assertEqual N/A N/A SP mock_calls N/A -1 N/A call vm_id N/A %s k json_data N/A dict meta N/A k v success 201 N/A N/A patch N/A %s.servers_metadata_put compute_pkg return_value N/A FR test_get_server_metadata N/A N/A self SG N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A metadata N/A dict m1 v1 m2 v2 m3 v3 N/A N/A FR json N/A dict metadata metadata N/A r N/A N/A N/A self client get_server_metadata vm_id N/A N/A FR json N/A dict meta metadata N/A N/A N/A SG assert_called_once_with vm_id N/A N/A N/A self assert_dicts_are_equal r metadata N/A N/A k v N/A N/A metadata items N/A N/A N/A FR json N/A dict meta N/A k v N/A r N/A N/A N/A self client get_server_metadata vm_id k N/A N/A N/A self assert_dicts_are_equal r N/A k v N/A N/A N/A self assertEqual N/A N/A SG mock_calls N/A -1 N/A call vm_id N/A %s k N/A N/A patch N/A %s.servers_metadata_get compute_pkg return_value N/A FR test_update_server_metadata N/A N/A self SP N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A metadata N/A dict m1 v1 m2 v2 m3 v3 N/A N/A FR json N/A dict metadata metadata N/A r N/A N/A N/A self client update_server_metadata vm_id metadata N/A N/A N/A self assert_dicts_are_equal r metadata N/A N/A N/A SP assert_called_once_with vm_id json_data N/A dict metadata metadata success 201 N/A N/A patch N/A %s.servers_metadata_post compute_pkg return_value N/A FR test_delete_server_metadata N/A N/A self SD N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A key metakey N/A N/A N/A N/A self client delete_server_metadata vm_id key N/A N/A N/A SD assert_called_once_with vm_id key N/A N/A patch N/A %s.servers_metadata_delete compute_pkg return_value N/A FR test_list_flavors N/A N/A self FG N/A N/A N/A N/A FR json flavor_list N/A detail N/A detail N/A N/A r N/A N/A N/A self client list_flavors detail N/A bool detail N/A N/A N/A self assertEqual N/A N/A FG mock_calls N/A -1 N/A call detail N/A bool detail N/A N/A N/A self assertEqual r N/A flavor_list N/A flavors N/A N/A patch N/A %s.flavors_get compute_pkg return_value N/A FR test_get_flavor_details N/A N/A self FG N/A N/A N/A N/A FR json N/A dict flavor N/A N/A flavor_list N/A flavors N/A 0 N/A r N/A N/A N/A self client get_flavor_details fid N/A N/A N/A FG assert_called_once_with fid N/A N/A N/A self assert_dicts_are_equal r N/A N/A flavor_list N/A flavors N/A 0 N/A N/A patch N/A %s.flavors_get compute_pkg return_value N/A FR test_list_images N/A N/A self IG N/A N/A N/A N/A FR json img_list N/A detail N/A detail N/A N/A r N/A N/A N/A self client list_images detail detail N/A N/A N/A self assertEqual N/A N/A IG mock_calls N/A -1 N/A call detail N/A bool detail N/A expected N/A img_list N/A images N/A i N/A range N/A len r N/A N/A N/A N/A self assert_dicts_are_equal N/A expected N/A i N/A r N/A i N/A N/A patch N/A %s.images_get compute_pkg return_value N/A FR test_get_image_details N/A N/A self IG N/A N/A N/A N/A FR json img_recv N/A r N/A N/A N/A self client get_image_details img_ref N/A N/A N/A IG assert_called_once_with img_ref N/A N/A N/A self assert_dicts_are_equal r N/A img_recv N/A image N/A N/A patch N/A %s.images_get compute_pkg return_value N/A FR test_get_image_metadata N/A N/A self IG N/A N/A N/A key N/A 50m3k3y N/A N/A N/A FR json N/A key N/A dict meta N/A img_recv N/A image N/A dict metadata N/A img_recv N/A image N/A r N/A N/A N/A self client get_image_metadata img_ref key N/A N/A N/A self assertEqual N/A N/A IG mock_calls N/A -1 N/A call img_ref N/A key N/A N/A N/A self assert_dicts_are_equal N/A img_recv N/A image r N/A N/A patch N/A %s.images_metadata_get compute_pkg return_value N/A FR test_delete_server N/A N/A self SD N/A N/A N/A vm_id N/A N/A vm_recv N/A server N/A id N/A N/A N/A N/A self client delete_server vm_id N/A N/A N/A SD assert_called_once_with vm_id N/A N/A patch N/A %s.servers_delete compute_pkg return_value N/A FR test_delete_image N/A N/A self ID N/A N/A N/A N/A N/A N/A self client delete_image img_ref N/A N/A N/A ID assert_called_once_with img_ref N/A N/A patch N/A %s.images_delete compute_pkg return_value N/A FR test_update_image_metadata N/A N/A self IP N/A N/A N/A metadata N/A dict m1 v1 m2 v2 m3 v3 N/A N/A FR json N/A dict metadata metadata N/A r N/A N/A N/A self client update_image_metadata img_ref metadata N/A N/A N/A IP assert_called_once_with img_ref json_data N/A dict metadata metadata N/A N/A N/A self assert_dicts_are_equal r metadata N/A N/A patch N/A %s.images_metadata_post compute_pkg return_value N/A FR test_delete_image_metadata N/A N/A self ID N/A N/A N/A key metakey N/A N/A N/A N/A self client delete_image_metadata img_ref key N/A N/A N/A ID assert_called_once_with img_ref N/A %s key N/A N/A patch N/A %s.images_metadata_delete compute_pkg return_value N/A FR test_get_floating_ip_pools N/A N/A self get N/A N/A N/A tid t3n@nt_1d N/A r N/A N/A N/A self client get_floating_ip_pools tid N/A N/A N/A self assert_dicts_are_equal r N/A FR json N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call tid N/A N/A patch N/A %s.floating_ip_pools_get compute_pkg return_value N/A FR test_get_floating_ips N/A N/A self get N/A N/A N/A tid t3n@nt_1d N/A r N/A N/A N/A self client get_floating_ips tid N/A N/A N/A self assert_dicts_are_equal r N/A FR json N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call tid N/A N/A patch N/A %s.floating_ips_get compute_pkg return_value N/A FR test_alloc_floating_ip N/A N/A self post N/A N/A N/A N/A FR json N/A dict floating_ip N/A dict fixed_ip fip id 1 instance_id lala ip 102.0.0.1 pool pisine N/A args N/A product N/A t1 t2 N/A None pisine N/A N/A r N/A N/A N/A self client alloc_floating_ip args N/A N/A tenant_id pool args N/A N/A N/A self assert_dicts_are_equal r N/A N/A FR json N/A floating_ip N/A expected N/A pool N/A dict pool pool N/A dict N/A N/A N/A self assertEqual N/A N/A post mock_calls N/A -1 N/A call tenant_id expected N/A N/A patch N/A %s.floating_ips_post compute_pkg return_value N/A FR test_get_floating_ip N/A N/A self get N/A N/A N/A N/A FR json N/A dict floating_ips N/A N/A dict fixed_ip fip id 1 instance_id lala ip 102.0.0.1 pool pisine N/A args N/A product N/A t1 t2 N/A None fip N/A N/A r N/A N/A N/A self client get_floating_ip args N/A N/A tenant_id fip args N/A N/A N/A self assertEqual r N/A N/A FR json N/A floating_ips N/A N/A N/A self assertEqual N/A N/A get mock_calls N/A -1 N/A call tenant_id fip N/A N/A patch N/A %s.floating_ips_get compute_pkg return_value N/A FR test_delete_floating_ip N/A N/A self delete N/A N/A N/A args N/A product N/A t1 t2 N/A None fip N/A N/A r N/A N/A N/A self client delete_floating_ip args N/A N/A tenant_id fip args N/A N/A N/A self assertEqual r N/A FR headers N/A N/A N/A self assertEqual N/A N/A delete mock_calls N/A -1 N/A call tenant_id fip N/A N/A patch N/A %s.floating_ips_delete compute_pkg return_value N/A FR N/A N/A N/A __name__ __main__ N/A sys argv kamaki.clients.test runTestCase N/A not_found True N/A N/A N/A N/A argv N/A 1 N/A N/A argv N/A 1 ComputeClient N/A N/A not_found False N/A N/A runTestCase ComputeClient Compute Client N/A argv N/A 2 N/A N/A N/A N/A argv N/A 1 N/A N/A argv N/A 1 ComputeRest N/A N/A not_found False N/A N/A runTestCase ComputeRestClient ComputeRest Client N/A argv N/A 2 N/A not_found N/A N/A N/A TestCase %s not found N/A argv N/A 1