Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr 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 AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Dict Assign NameStore BinOpAdd BinOpAdd Call NameLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Dict keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Dict Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Dict Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Assign NameStore Dict Str ListLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr 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 AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str ListLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign NameStore Dict Str ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Assign NameStore Dict Str ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Num Assign NameStore Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword NameLoad Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr 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 AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign TupleStore NameStore AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str finalbody Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareNotIn Str NameLoad Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad Assign NameStore BinOpMod Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareNotIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad Str attr Call NameLoad Dict Str Str Str NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr 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 AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Num Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr For NameStore AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str keyword Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Str Str Str Str Num Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete AttributeDel NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Lambda arguments args defaults AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str keyword Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Num keyword Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict Str Str Str Str Num Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Num Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Dict Str Str Str Str Num Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword ListLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr 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 AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad Call NameLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A __future__ unicode_literals django.test TestCase RequestFactory django.core.urlresolvers reverse django.core.cache cache django.contrib.auth get_user_model django.utils timezone django.template Template Context django.utils.html strip_tags core.tests utils models CommentPoll CommentPollChoice CommentPollVote PollMode forms PollVoteManyForm utils.render_static post_render_static_polls utils render N/A User N/A get_user_model PollViewTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A cache clear N/A N/A self user N/A N/A utils create_user N/A N/A self user2 N/A N/A utils create_user N/A N/A self category N/A N/A utils create_category N/A N/A self topic N/A N/A utils create_topic N/A self category user N/A self user N/A N/A self topic2 N/A N/A utils create_topic N/A self category user N/A self user2 N/A N/A self comment N/A N/A utils create_comment topic N/A self topic N/A N/A self user_comment N/A N/A utils create_comment topic N/A self topic user N/A self user N/A N/A self poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foo N/A N/A self poll_multi N/A N/A N/A CommentPoll objects create comment N/A self comment name bar choice_max 2 N/A test_poll_close_logged_in N/A N/A self N/A N/A N/A 
        User must be logged in
         N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:close kwargs N/A pk N/A N/A self poll pk N/A N/A N/A N/A self assertEqual N/A response status_code 302 N/A test_poll_close_wrong_user N/A N/A self N/A N/A N/A 
        Try to close another user poll should return 404
         N/A N/A N/A utils login self N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:close kwargs N/A pk N/A N/A self poll pk N/A N/A N/A N/A self assertEqual N/A response status_code 404 N/A test_poll_close_get N/A N/A self N/A N/A N/A 
        GET, poll_close
         N/A N/A N/A utils login self N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:close kwargs N/A pk N/A N/A self poll pk N/A N/A N/A self assertEqual N/A response status_code 405 N/A test_poll_close_post N/A N/A self N/A N/A N/A 
        POST, poll_close
         N/A N/A N/A utils login self N/A poll N/A N/A N/A CommentPoll objects create comment N/A self user_comment name foo N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:close kwargs N/A pk N/A poll pk N/A N/A expected_url N/A N/A poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertTrue N/A N/A N/A N/A CommentPoll objects get pk N/A poll pk is_closed N/A test_poll_close_open_post N/A N/A self N/A N/A N/A 
        POST, poll_open
         N/A N/A N/A utils login self N/A poll N/A N/A N/A CommentPoll objects create comment N/A self user_comment name foo close_at N/A N/A timezone now N/A N/A N/A self assertTrue N/A poll is_closed N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:open kwargs N/A pk N/A poll pk N/A N/A expected_url N/A N/A poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertFalse N/A N/A N/A N/A CommentPoll objects get pk N/A poll pk is_closed N/A test_poll_vote_logged_in N/A N/A self N/A N/A N/A 
        User must be logged in
         N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll pk N/A N/A expected_url N/A N/A N/A reverse spirit:user:auth:login ?next= N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 N/A test_poll_vote_get N/A N/A self N/A N/A N/A 
        GET, poll_vote
        Post is required
         N/A N/A N/A utils login self N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll pk N/A N/A N/A self assertEqual N/A response status_code 405 N/A test_poll_vote_post N/A N/A self N/A N/A N/A 
        POST, poll_vote
         N/A N/A N/A utils login self N/A choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description op1 N/A form_data N/A choices N/A choice pk N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll pk form_data N/A expected_url N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice choice 1 N/A test_poll_vote_post_invalid N/A N/A self N/A N/A N/A 
        POST, poll_vote
         N/A N/A N/A utils login self N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll pk N/A follow True N/A N/A N/A self assertEqual N/A len N/A N/A response context N/A messages 1 N/A test_poll_vote_post_invalid_redirect N/A N/A self N/A N/A N/A 
        POST, poll_vote
         N/A N/A N/A utils login self N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll pk N/A N/A expected_url N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A test_poll_vote_post_multi N/A N/A self N/A N/A N/A 
        Should be able to vote many options
         N/A N/A N/A utils login self N/A choice_a N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 1 description op a N/A choice_b N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 2 description op b N/A N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 3 description op c N/A form_data N/A choices N/A N/A choice_a pk N/A choice_b pk N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll_multi pk form_data N/A expected_url N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects all 2 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A choice_a pk 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A choice_b pk 1 N/A test_poll_vote_post_count N/A N/A self N/A N/A N/A 
        Should increase the vote counters
         N/A N/A N/A utils login self N/A choice_a N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 1 description op a N/A choice_b N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 2 description op b N/A choice_c N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 3 description op c N/A form_data N/A choices N/A N/A choice_a pk N/A choice_b pk N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll_multi pk form_data N/A expected_url N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_a pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_b pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_c pk vote_count 0 N/A form_data N/A choices N/A N/A choice_a pk N/A response N/A N/A N/A self client post N/A reverse spirit:comment:poll:vote kwargs N/A pk N/A N/A self poll_multi pk form_data N/A expected_url N/A N/A N/A self poll get_absolute_url N/A N/A N/A self assertRedirects response expected_url status_code 302 target_status_code 302 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_a pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_b pk vote_count 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice_c pk vote_count 0 N/A test_poll_voters_logged_in N/A N/A self N/A N/A N/A 
        User must be logged in
         N/A poll_choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description op1 N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:voters kwargs N/A pk N/A poll_choice pk N/A N/A N/A self assertEqual N/A response status_code 302 N/A test_poll_voters N/A N/A self N/A N/A N/A 
        Should query choice voters
         N/A poll_choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description op1 N/A poll_choice2 N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 2 description op2 N/A vote N/A N/A N/A CommentPollVote objects create voter N/A self user choice poll_choice N/A N/A N/A N/A CommentPollVote objects create voter N/A self user2 choice poll_choice2 N/A N/A N/A utils login self N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:voters kwargs N/A pk N/A poll_choice pk N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertEqual N/A N/A response context N/A choice poll_choice N/A N/A N/A self assertEqual N/A list N/A N/A response context N/A votes N/A vote N/A test_poll_voters_secret N/A N/A self N/A N/A N/A 
        Should forbid view voters of secret poll when is not closed
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foobar mode N/A PollMode SECRET N/A poll_choice N/A N/A N/A CommentPollChoice objects create poll poll number 1 description op1 N/A N/A N/A utils login self N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:voters kwargs N/A pk N/A poll_choice pk N/A N/A N/A self assertEqual N/A response status_code 403 N/A test_poll_voters_secret_closed N/A N/A self N/A N/A N/A 
        Should allow view voters of secret poll when is closed
         N/A yesterday N/A N/A N/A timezone now N/A N/A timezone timedelta days 1 N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foobar mode N/A PollMode SECRET close_at yesterday N/A poll_choice N/A N/A N/A CommentPollChoice objects create poll poll number 1 description op1 N/A N/A N/A utils login self N/A response N/A N/A N/A self client get N/A reverse spirit:comment:poll:voters kwargs N/A pk N/A poll_choice pk N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A PollFormTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A cache clear N/A N/A self user N/A N/A utils create_user N/A N/A self user2 N/A N/A utils create_user N/A N/A self category N/A N/A utils create_category N/A N/A self topic N/A N/A utils create_topic N/A self category user N/A self user N/A N/A self comment N/A N/A utils create_comment topic N/A self topic N/A N/A self comment2 N/A N/A utils create_comment topic N/A self topic N/A N/A self poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foo N/A N/A self poll_choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description op1 N/A N/A self poll_choice2 N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 2 description op2 N/A N/A self poll_vote N/A N/A N/A CommentPollVote objects create voter N/A self user choice N/A self poll_choice N/A N/A self poll_vote2 N/A N/A N/A CommentPollVote objects create voter N/A self user2 choice N/A self poll_choice N/A N/A N/A self poll_choice votes N/A N/A self poll_vote N/A N/A N/A self poll choices N/A N/A self poll_choice N/A self poll_choice2 N/A N/A self poll_multi N/A N/A N/A CommentPoll objects create comment N/A self comment2 name bar choice_max 2 N/A N/A self poll_multi_choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 1 description op1 N/A N/A self poll_multi_choice2 N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 2 description op2 N/A N/A self poll_multi_choice3 N/A N/A N/A CommentPollChoice objects create poll N/A self poll_multi number 3 description op3 N/A N/A self poll_multi_vote N/A N/A N/A CommentPollVote objects create voter N/A self user choice N/A self poll_multi_choice N/A N/A self poll_multi_vote2 N/A N/A N/A CommentPollVote objects create voter N/A self user choice N/A self poll_multi_choice2 N/A N/A self poll_multi_vote3 N/A N/A N/A CommentPollVote objects create voter N/A self user2 choice N/A self poll_multi_choice N/A N/A N/A self poll_multi_choice votes N/A N/A self poll_multi_vote N/A N/A N/A self poll_multi_choice2 votes N/A N/A self poll_multi_vote2 N/A N/A N/A self poll_multi choices N/A N/A self poll_multi_choice N/A self poll_multi_choice2 N/A test_vote_load_initial_single N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll N/A N/A N/A form load_initial N/A N/A N/A self assertEqual N/A form initial N/A choices N/A N/A self poll_choice pk N/A test_vote_load_initial_multi N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll_multi N/A N/A N/A form load_initial N/A N/A N/A self assertDictEqual N/A form initial N/A choices N/A N/A N/A self poll_multi_choice pk N/A N/A self poll_multi_choice2 pk N/A test_vote_load_initial_empty N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A N/A N/A N/A N/A N/A CommentPollVote objects all delete N/A N/A N/A self poll_choice votes N/A N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll N/A N/A N/A form load_initial N/A N/A N/A self assertEqual N/A form initial N/A N/A test_vote_load_initial_choice_limit N/A N/A self N/A N/A N/A 
        Load initial for a single choice poll that was previously a multi choice poll
         N/A N/A N/A self poll_multi choice_max 1 N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll_multi N/A N/A N/A form load_initial N/A N/A N/A self assertDictEqual N/A form initial N/A choices N/A N/A self poll_multi_choice pk N/A N/A N/A self poll choice_max 2 N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll N/A N/A N/A form load_initial N/A N/A N/A self assertDictEqual N/A form initial N/A choices N/A N/A N/A self poll_choice pk N/A test_vote_poll_closed N/A N/A self N/A N/A N/A 
        Cant vote on closed poll
         N/A N/A N/A self poll close_at N/A N/A timezone now N/A N/A N/A N/A self poll save N/A form_data N/A choices N/A N/A self poll_choice pk N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll data form_data N/A N/A N/A self assertFalse N/A N/A form is_valid N/A test_create_vote_single N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A N/A N/A N/A N/A N/A CommentPollVote objects all delete N/A form_data N/A choices N/A N/A self poll_choice pk N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll data form_data N/A N/A N/A self assertTrue N/A N/A form is_valid N/A N/A N/A form save_m2m N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects all 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A self poll_choice is_removed False 1 N/A test_create_vote_multi N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A N/A N/A N/A N/A N/A CommentPollVote objects all delete N/A N/A N/A self poll_multi_choice votes N/A N/A N/A N/A self poll_multi_choice2 votes N/A N/A form_data N/A choices N/A N/A N/A self poll_multi_choice pk N/A N/A self poll_multi_choice2 pk N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll_multi data form_data N/A N/A N/A self assertTrue N/A N/A form is_valid N/A test_create_vote_multi_invalid N/A N/A self N/A N/A N/A 
        Limit selected choices to choice_limit
         N/A N/A N/A N/A N/A N/A CommentPollVote objects all delete N/A N/A N/A self poll_multi_choice votes N/A N/A N/A N/A self poll_multi_choice2 votes N/A N/A form_data N/A choices N/A N/A N/A self poll_multi_choice pk N/A N/A self poll_multi_choice2 pk N/A N/A self poll_multi_choice3 pk N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll_multi data form_data N/A N/A N/A self assertFalse N/A N/A form is_valid N/A test_update_vote_single N/A N/A self N/A N/A N/A 
        TopicPollVoteManyForm
         N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A self poll_choice2 is_removed False 0 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A self poll_choice is_removed False 2 N/A form_data N/A choices N/A N/A self poll_choice2 pk N/A form N/A PollVoteManyForm user N/A self user poll N/A self poll data form_data N/A N/A N/A self assertTrue N/A N/A form is_valid N/A N/A N/A form save_m2m N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A self poll_choice2 is_removed False 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A CommentPollVote objects filter choice N/A self poll_choice is_removed False 1 N/A N/A CommentPollTemplateTagsTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A cache clear N/A N/A self user N/A N/A utils create_user N/A N/A self category N/A N/A utils create_category N/A N/A self topic N/A N/A utils create_topic category N/A self category N/A N/A self user_comment N/A N/A utils create_comment topic N/A self topic user N/A self user comment_html <poll name=foo> N/A N/A self user_poll N/A N/A N/A CommentPoll objects create comment N/A self user_comment name foo N/A N/A self user_comment_with_polls N/A N/A N/A N/A N/A N/A N/A N/A N/A self user_comment __class__ objects filter pk N/A N/A self user_comment pk with_polls N/A self user first N/A N/A self request N/A N/A N/A RequestFactory get / N/A N/A N/A self request user N/A self user N/A test_render_polls_form N/A N/A self N/A N/A N/A 
        Should display poll vote form
         N/A res N/A mock_render_to_string N/A N/A tlt ctx N/A N/A N/A N/A N/A res append tlt N/A N/A N/A res append ctx N/A N/A N/A org_render_to_string N/A render render_to_string N/A N/A render render_to_string mock_render_to_string N/A N/A N/A N/A N/A render render_polls N/A self user_comment_with_polls N/A self request csrf_token_foo N/A N/A N/A self assertEqual N/A len res 2 N/A N/A template context N/A N/A res N/A 0 N/A res N/A 1 N/A N/A N/A self assertEqual template spirit/comment/poll/_form.html N/A N/A N/A self assertEqual N/A N/A context N/A form poll N/A self user_poll N/A N/A N/A self assertIsInstance N/A context N/A poll CommentPoll N/A N/A N/A self assertEqual N/A context N/A user N/A self user N/A N/A N/A self assertEqual N/A context N/A comment N/A self user_comment_with_polls N/A N/A N/A self assertEqual N/A context N/A request N/A self request N/A N/A N/A self assertEqual N/A context N/A csrf_token csrf_token_foo N/A N/A N/A render render_to_string org_render_to_string N/A test_render_polls_template_form N/A N/A self N/A N/A N/A 
        Should display poll vote form
         N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token N/A self user_comment_with_polls N/A self request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A N/A N/A self assertTrue N/A <poll out N/A form_id N/A id="p%s" N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A form_id out N/A show_link N/A ?show_poll=%(pk)s#p%(pk)s N/A pk N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A show_link out N/A test_render_polls_template_form_not_author N/A N/A self N/A N/A N/A 
        Should display poll vote form
         N/A request N/A N/A N/A RequestFactory get / N/A N/A request user N/A N/A utils create_user N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token N/A self user_comment_with_polls request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A form_id N/A id="p%s" N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A form_id out N/A test_render_polls_template_form_close N/A N/A self N/A N/A N/A 
        Should display the close button
         N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token N/A self user_comment_with_polls N/A self request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A close_link N/A reverse spirit:comment:poll:close kwargs N/A pk N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A close_link out N/A test_render_polls_template_form_close_not_author N/A N/A self N/A N/A N/A 
        Should *not* display the close button to not poll author
         N/A request N/A N/A N/A RequestFactory get / N/A N/A request user N/A N/A utils create_user N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token N/A self user_comment_with_polls request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A close_link N/A reverse spirit:comment:poll:close kwargs N/A pk N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A close_link out N/A test_render_polls_template_form_open N/A N/A self N/A N/A N/A 
        Should display the open button
         N/A N/A N/A N/A N/A self user_comment_with_polls polls N/A 0 close_at N/A N/A timezone now N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token N/A self user_comment_with_polls N/A self request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A open_link N/A reverse spirit:comment:poll:open kwargs N/A pk N/A N/A self user_poll pk N/A N/A N/A self assertTrue N/A open_link out N/A test_render_polls_secret N/A N/A self N/A N/A N/A 
        Should not display the view results link when poll is secret and is not closed
         N/A comment N/A N/A utils create_comment topic N/A self topic comment_html <poll name=bar> N/A N/A N/A N/A CommentPoll objects create comment comment name bar mode N/A PollMode SECRET N/A user_comment_with_polls N/A N/A N/A N/A N/A N/A N/A N/A comment __class__ objects filter pk N/A comment pk with_polls N/A self user first N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token user_comment_with_polls N/A self request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A N/A N/A self assertFalse N/A Show results out N/A N/A N/A self assertTrue N/A form out N/A test_render_polls_secret_closed N/A N/A self N/A N/A N/A 
        Should display the results when poll is secret and is closed
         N/A comment N/A N/A utils create_comment topic N/A self topic comment_html <poll name=bar> N/A yesterday N/A N/A N/A timezone now N/A N/A timezone timedelta days 1 N/A N/A N/A N/A CommentPoll objects create comment comment name bar mode N/A PollMode SECRET close_at yesterday N/A user_comment_with_polls N/A N/A N/A N/A N/A N/A N/A N/A comment __class__ objects filter pk N/A comment pk with_polls N/A self user first N/A out N/A N/A N/A Template {% load spirit_tags %}{% post_render_comment comment=comment %} render N/A Context N/A comment request csrf_token user_comment_with_polls N/A self request foo N/A N/A N/A self assertNotEqual N/A N/A out strip N/A N/A N/A self assertFalse N/A show_poll= out N/A N/A N/A self assertFalse N/A form out N/A N/A N/A self assertTrue N/A comment-poll out N/A N/A PollModelsTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A cache clear N/A N/A self user N/A N/A utils create_user N/A N/A self category N/A N/A utils create_category N/A N/A self topic N/A N/A utils create_topic category N/A self category user N/A self user N/A N/A self comment N/A N/A utils create_comment topic N/A self topic N/A N/A self poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foo N/A N/A self choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description 1 N/A N/A self vote N/A N/A N/A CommentPollVote objects create choice N/A self choice voter N/A self user N/A N/A N/A self poll choices N/A list N/A N/A N/A CommentPollChoice objects filter poll N/A self poll N/A c N/A N/A self poll choices N/A N/A N/A c votes N/A list N/A N/A N/A CommentPollVote objects filter choice c voter N/A self user N/A test_poll_is_multiple_choice N/A N/A self N/A N/A N/A 
        Should be true when max > 1
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar choice_max 2 N/A N/A N/A self assertFalse N/A N/A self poll is_multiple_choice N/A N/A N/A self assertTrue N/A poll is_multiple_choice N/A test_poll_has_choice_min N/A N/A self N/A N/A N/A 
        Should be true when min > 1
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar choice_min 2 N/A N/A N/A self assertFalse N/A N/A self poll has_choice_min N/A N/A N/A self assertTrue N/A poll has_choice_min N/A test_poll_is_closed N/A N/A self N/A N/A N/A 
        Should be true when close_at > now
         N/A yesterday N/A N/A N/A timezone now N/A N/A timezone timedelta days 1 N/A tomorrow N/A N/A N/A timezone now N/A N/A timezone timedelta days 1 N/A poll_old N/A N/A N/A CommentPoll objects create comment N/A self comment name bar close_at yesterday N/A poll_new N/A N/A N/A CommentPoll objects create comment N/A self comment name bar2 close_at tomorrow N/A N/A N/A self assertFalse N/A N/A self poll is_closed N/A N/A N/A self assertTrue N/A poll_old is_closed N/A N/A N/A self assertFalse N/A poll_new is_closed N/A test_poll_has_user_voted N/A N/A self N/A N/A N/A 
        Should be true when the user has voted
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar N/A N/A N/A N/A CommentPollChoice objects create poll poll number 1 description 1 N/A N/A poll choices N/A list N/A N/A N/A CommentPollChoice objects filter poll poll N/A c N/A poll choices N/A N/A N/A c votes N/A N/A N/A N/A self assertTrue N/A N/A self poll has_user_voted N/A N/A N/A self assertFalse N/A poll has_user_voted N/A test_poll_mode_txt N/A N/A self N/A N/A N/A 
        Should return the mode description
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar N/A N/A N/A self assertEqual N/A poll mode_txt default N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar2 mode N/A PollMode SECRET N/A N/A N/A self assertEqual N/A poll mode_txt secret N/A test_poll_total_votes N/A N/A self N/A N/A N/A 
        Should return the total votes
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar N/A N/A N/A N/A CommentPollChoice objects create poll poll number 1 description foo vote_count 5 N/A N/A N/A N/A CommentPollChoice objects create poll poll number 2 description bar vote_count 5 N/A N/A poll choices N/A list N/A N/A N/A CommentPollChoice objects filter poll poll N/A N/A N/A self assertEqual N/A poll total_votes 10 N/A test_poll_is_secret N/A N/A self N/A N/A N/A 
        Should return whether the poll is secret or not
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar N/A N/A N/A self assertFalse N/A poll is_secret N/A N/A poll mode N/A PollMode SECRET N/A N/A N/A self assertTrue N/A poll is_secret N/A test_poll_can_show_results N/A N/A self N/A N/A N/A 
        Should return whether the poll results can be shown or not depending on the mode
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name bar N/A N/A N/A self assertTrue N/A poll can_show_results N/A N/A poll mode N/A PollMode SECRET N/A N/A N/A self assertFalse N/A poll can_show_results N/A yesterday N/A N/A N/A timezone now N/A N/A timezone timedelta days 1 N/A N/A poll close_at yesterday N/A N/A N/A self assertTrue N/A poll can_show_results N/A test_poll_update_or_create_many N/A N/A self N/A N/A N/A 
        Should create or update many polls for a given comment
         N/A poll_raw N/A name title choice_min choice_max close_at mode foo_raw foo 2 2 N/A N/A timezone now N/A PollMode SECRET N/A N/A N/A CommentPoll update_or_create_many comment N/A self comment polls_raw N/A poll_raw N/A poll N/A N/A N/A N/A N/A N/A N/A CommentPoll objects all order_by pk last N/A N/A N/A self assertEqual N/A poll name N/A poll_raw N/A name N/A N/A N/A self assertEqual N/A poll title N/A poll_raw N/A title N/A N/A N/A self assertEqual N/A poll choice_min N/A poll_raw N/A choice_min N/A N/A N/A self assertEqual N/A poll choice_max N/A poll_raw N/A choice_max N/A N/A N/A self assertEqual N/A poll close_at N/A poll_raw N/A close_at N/A N/A N/A self assertEqual N/A poll mode N/A poll_raw N/A mode N/A N/A N/A CommentPoll update_or_create_many comment N/A self comment polls_raw N/A N/A name title N/A poll name bar N/A poll_updated N/A N/A N/A N/A N/A N/A N/A CommentPoll objects all order_by pk last N/A N/A N/A self assertEqual N/A poll pk N/A poll_updated pk N/A N/A N/A self assertEqual N/A poll_updated title bar N/A test_poll_update_or_create_many_update_un_remove N/A N/A self N/A N/A N/A 
        Should mark the poll as not removed on update
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foo_rm is_removed True N/A N/A N/A CommentPoll update_or_create_many comment N/A poll comment polls_raw N/A N/A name N/A poll name N/A poll_updated N/A N/A N/A N/A N/A N/A N/A CommentPoll objects all order_by pk last N/A N/A N/A self assertEqual N/A poll pk N/A poll_updated pk N/A N/A N/A self assertFalse N/A poll_updated is_removed N/A test_poll_choice_vote N/A N/A self N/A N/A N/A 
        Should return the user vote for a given choice
         N/A choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 5 description foobar N/A vote N/A N/A N/A CommentPollVote objects create choice choice voter N/A self user N/A N/A choice votes N/A list N/A N/A N/A CommentPollVote objects filter choice choice voter N/A self user N/A N/A N/A self assertEqual N/A choice vote vote N/A N/A choice votes N/A N/A N/A N/A self assertIsNone N/A choice vote N/A N/A choice votes N/A N/A N/A self assertIsNone N/A choice vote N/A N/A choice votes N/A vote vote N/A N/A N/A self assertRaises AssertionError N/A N/A N/A N/A N/A choice vote N/A test_poll_choice_votes_percentage N/A N/A self N/A N/A N/A 
        Should return the percentage of votes for a choice
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name percentage N/A choice N/A N/A N/A CommentPollChoice objects create poll poll number 1 description foobar vote_count 1 N/A N/A poll total_votes 2 N/A N/A N/A self assertEqual N/A choice votes_percentage 50 N/A N/A poll total_votes 3 N/A N/A N/A self assertEqual N/A N/A {:.2f} format N/A choice votes_percentage 33.33 N/A N/A poll total_votes 0 N/A N/A N/A self assertEqual N/A choice votes_percentage 0 N/A test_poll_choice_increase_vote_count N/A N/A self N/A N/A N/A 
        Should increase the vote count of all choices for a given user and poll
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name percentage N/A choice N/A N/A N/A CommentPollChoice objects create poll poll number 1 description foobar N/A choice2 N/A N/A N/A CommentPollChoice objects create poll poll number 2 description foobar N/A N/A N/A N/A CommentPollVote objects create choice choice voter N/A self user N/A N/A N/A N/A CommentPollVote objects create choice choice2 voter N/A self user N/A user2 N/A N/A utils create_user N/A N/A N/A N/A CommentPollVote objects create choice choice voter user2 N/A N/A N/A CommentPollChoice increase_vote_count poll N/A self user N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A N/A self choice pk vote_count 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice2 pk vote_count 1 N/A N/A N/A N/A N/A N/A CommentPollChoice objects filter pk N/A choice pk update is_removed True N/A N/A N/A CommentPollChoice increase_vote_count poll N/A self user N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice2 pk vote_count 2 N/A test_poll_choice_decrease_vote_count N/A N/A self N/A N/A N/A 
        Should decrease the vote count of all choices for a given user and poll
         N/A poll N/A N/A N/A CommentPoll objects create comment N/A self comment name percentage N/A choice N/A N/A N/A CommentPollChoice objects create poll poll number 1 description foobar vote_count 2 N/A choice2 N/A N/A N/A CommentPollChoice objects create poll poll number 2 description foobar vote_count 2 N/A N/A N/A N/A CommentPollVote objects create choice choice voter N/A self user N/A N/A N/A N/A CommentPollVote objects create choice choice2 voter N/A self user N/A user2 N/A N/A utils create_user N/A N/A N/A N/A CommentPollVote objects create choice choice voter user2 N/A N/A N/A CommentPollChoice decrease_vote_count poll N/A self user N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A N/A self choice pk vote_count 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice2 pk vote_count 1 N/A N/A N/A N/A N/A N/A CommentPollChoice objects filter pk N/A choice pk update is_removed True N/A N/A N/A CommentPollChoice decrease_vote_count poll N/A self user N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice pk vote_count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A CommentPollChoice objects get pk N/A choice2 pk vote_count 0 N/A test_poll_choice_update_or_create_many N/A N/A self N/A N/A N/A 
        Should create or update many choices for a given poll
         N/A choice_raw N/A poll_name number description foo 2 2 bar N/A N/A N/A CommentPollChoice update_or_create_many comment N/A self comment choices_raw N/A choice_raw N/A choice N/A N/A N/A N/A N/A N/A N/A CommentPollChoice objects all order_by pk last N/A N/A N/A self assertTrue N/A N/A N/A N/A CommentPollChoice objects get pk N/A N/A self choice pk is_removed N/A N/A N/A self assertEqual N/A choice poll N/A self poll N/A N/A N/A self assertEqual N/A choice number 2 N/A N/A N/A self assertEqual N/A choice description 2 bar N/A N/A N/A self assertFalse N/A choice is_removed N/A choice_raw2 N/A poll_name number description foo 1 1 bar N/A N/A choice_raw N/A description 2 foo N/A N/A N/A CommentPollChoice update_or_create_many comment N/A self comment choices_raw N/A choice_raw choice_raw2 N/A choice_updated N/A N/A N/A N/A N/A N/A N/A CommentPollChoice objects all order_by pk last N/A N/A N/A self assertFalse N/A N/A N/A N/A CommentPollChoice objects get pk N/A N/A self choice pk is_removed N/A N/A N/A self assertEqual N/A choice_updated poll N/A self poll N/A N/A N/A self assertEqual N/A choice_updated number 2 N/A N/A N/A self assertEqual N/A choice_updated description 2 foo N/A N/A N/A self assertFalse N/A choice is_removed N/A test_poll_choice_update_or_create_many_removed_poll N/A N/A self N/A N/A N/A 
        Should raise an Exception if poll is_removed
         N/A N/A N/A N/A N/A N/A CommentPoll objects filter pk N/A N/A self poll pk update is_removed True N/A choice_raw N/A poll_name number description foo 2 2 bar N/A N/A N/A self assertRaises KeyError N/A CommentPollChoice update_or_create_many comment N/A self comment choices_raw N/A choice_raw N/A N/A PollUtilsTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A cache clear N/A N/A self user N/A N/A utils create_user N/A N/A self category N/A N/A utils create_category N/A N/A self topic N/A N/A utils create_topic category N/A self category user N/A self user N/A N/A self comment N/A N/A utils create_comment topic N/A self topic comment_html <poll name=foo> N/A N/A self poll N/A N/A N/A CommentPoll objects create comment N/A self comment name foo title my poll N/A N/A self choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 1 description choice 1 N/A N/A self choice N/A N/A N/A CommentPollChoice objects create poll N/A self poll number 2 description choice 2 N/A test_post_render_static_polls N/A N/A self N/A N/A N/A 
        Should render the static polls
         N/A comment_html N/A post_render_static_polls N/A self comment N/A N/A N/A self assertTrue N/A my poll comment_html N/A comment_parts N/A N/A N/A l strip N/A l N/A N/A N/A strip_tags comment_html splitlines N/A N/A l strip N/A N/A N/A self assertEqual comment_parts N/A my poll #1 choice 1 #2 choice 2 Name: foo, choice selection: from 1 up to 1, mode: default N/A test_post_render_static_polls_many N/A N/A self N/A N/A N/A 
        Should render the many static polls
         N/A comment N/A N/A utils create_comment topic N/A self topic comment_html <poll name=foo>
<poll name=bar> N/A N/A N/A N/A CommentPoll objects create comment comment name foo title my poll N/A N/A N/A N/A CommentPoll objects create comment comment name bar title my other poll N/A comment_html N/A post_render_static_polls comment N/A N/A N/A self assertTrue N/A my poll comment_html N/A N/A N/A self assertTrue N/A my other poll comment_html N/A test_post_render_static_polls_close_at N/A N/A self N/A N/A N/A 
        Should render the static polls with close_at
         N/A now N/A N/A timezone now N/A comment N/A N/A utils create_comment topic N/A self topic comment_html <poll name=foo> N/A N/A N/A N/A CommentPoll objects create comment comment name foo title my poll close_at now N/A comment_html N/A post_render_static_polls comment N/A N/A N/A self assertTrue N/A close at: comment_html N/A N/A N/A self assertTrue N/A Name: comment_html N/A N/A N/A self assertTrue N/A choice selection: comment_html N/A N/A N/A self assertTrue N/A mode: comment_html N/A test_post_render_static_polls_no_poll N/A N/A self N/A N/A N/A 
        Should render the comment with no poll
         N/A comment N/A N/A utils create_comment topic N/A self topic comment_html foo N/A comment_html N/A post_render_static_polls comment N/A N/A N/A self assertEqual comment_html foo N/A test_post_render_static_polls_removed_poll N/A N/A self N/A N/A N/A 
        Should not render removed polls
         N/A N/A N/A self poll is_removed True N/A N/A N/A N/A self poll save N/A comment_html N/A post_render_static_polls N/A self comment N/A N/A N/A self assertEqual comment_html <poll name=foo> N/A N/A