Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str Str Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr 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 AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num SubscriptLoad NameLoad Index Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr 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 AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr 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 Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Dict Str Str AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad 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 Str keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad 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 Str keyword AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Str NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad 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 Str keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call 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 Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad 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 Str keyword AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list
N/A django.db IntegrityError django.test Client django.core.urlresolvers reverse django.contrib.auth.models AnonymousUser django.core.exceptions ObjectDoesNotExist base BaseTestCase N/A json comments.models Comment CustomUser Site Thread CommentManagerTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self user N/A N/A N/A CustomUser objects create email a@b.com password pass N/A N/A self site N/A N/A N/A Site objects create N/A N/A self thread N/A N/A N/A Thread objects create site N/A self site N/A test_bulk_delete_successfully_deletes_comments N/A N/A self N/A N/A N/A N/A N/A N/A Comment objects bulk_create N/A N/A Comment user N/A self user thread N/A self thread N/A Comment user N/A self user thread N/A self thread N/A comments N/A N/A N/A Comment objects all N/A N/A N/A N/A Comment objects bulk_delete comments N/A N/A N/A self assertEqual N/A N/A N/A Comment objects count 0 N/A N/A CommentTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self user_foo N/A N/A N/A CustomUser objects create N/A N/A self site N/A N/A N/A Site objects create N/A N/A self thread N/A N/A N/A Thread objects create site N/A self site N/A test_create_comment_without_thread_fails N/A N/A self N/A N/A N/A N/A N/A self assertRaises IntegrityError N/A N/A N/A N/A N/A Comment objects create user N/A self user_foo N/A test_create_comment N/A N/A self N/A N/A N/A N/A N/A N/A Comment objects create user N/A self user_foo thread N/A self thread N/A comments N/A N/A N/A Comment objects all N/A N/A N/A self assertEqual N/A N/A comments count 1 N/A comment N/A comments N/A 0 N/A N/A N/A self assertEqual N/A comment user N/A self user_foo N/A N/A N/A self assertEqual N/A comment thread N/A self thread N/A test_likes_count_property N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A N/A comment liked_by_count 1 N/A N/A N/A comment save N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A N/A comment liked_by add user N/A N/A N/A self assertEqual N/A comment likes_count 2 N/A test_dislikes_count_property N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A N/A comment disliked_by_count 1 N/A N/A N/A comment save N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A N/A comment disliked_by add user N/A N/A N/A self assertEqual N/A comment dislikes_count 2 N/A test_like N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A comment like user N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A anon N/A AnonymousUser N/A N/A N/A comment like anon N/A N/A N/A self assertEqual N/A comment likes_count 2 N/A test_undo_like N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A comment like user N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A comment undo_like user N/A N/A N/A self assertEqual N/A comment likes_count 0 N/A test_dislike N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A comment dislike user N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A anon N/A AnonymousUser N/A N/A N/A comment dislike anon N/A N/A N/A self assertEqual N/A comment dislikes_count 2 N/A test_undo_dislike N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A comment dislike user N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A comment undo_dislike user N/A N/A N/A self assertEqual N/A comment dislikes_count 0 N/A test_anon_user_undo_like_succeeds N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A anon N/A AnonymousUser N/A N/A N/A comment like anon N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A comment undo_like anon N/A N/A N/A self assertEqual N/A comment likes_count 0 N/A test_anon_user_undo_dislike_succeeds N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A anon N/A AnonymousUser N/A N/A N/A comment dislike anon N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A comment undo_dislike anon N/A N/A N/A self assertEqual N/A comment dislikes_count 0 N/A test_non_staff_user_cannot_delete_comment_from_db N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_user email a@b.com password pass N/A N/A N/A comment delete user N/A comments N/A N/A N/A Comment objects all N/A N/A N/A self assertEqual N/A N/A comments count 1 N/A c N/A comments N/A 0 N/A N/A N/A self assertEqual N/A c id N/A comment id N/A test_admin_user_deletes_comment_successfully N/A N/A self N/A N/A N/A comment N/A N/A N/A Comment objects create thread N/A self thread N/A user N/A N/A N/A CustomUser objects create_superuser email a@b.com password pass N/A N/A N/A comment delete user N/A comments N/A N/A N/A Comment objects all N/A N/A N/A self assertEqual N/A N/A comments count 0 N/A N/A N/A self assertRaises ObjectDoesNotExist N/A N/A N/A N/A N/A Comment objects get id N/A comment id N/A N/A PostCommentEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self email a@b.com N/A password pass N/A N/A self test_user N/A N/A N/A CustomUser objects create_user N/A self email password N/A N/A N/A self test_user full_name test name N/A N/A N/A N/A self test_user save N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com anonymous_allowed True N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self client N/A Client N/A N/A self endpoint_url N/A reverse comments:comment N/A test_post_comment_user_logged_in_succeeds N/A N/A self N/A N/A N/A text some_text N/A N/A N/A N/A self client login email N/A self email password pass N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A text thread domain text N/A N/A self test_thread id N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A Comment objects count 1 N/A comment N/A N/A N/A N/A Comment objects all N/A 0 N/A N/A N/A self assertEqual N/A comment poster_name N/A N/A self test_user full_name N/A N/A N/A self assertEqual N/A comment text text N/A test_post_comment_anonymous_user_succeeds N/A N/A self N/A N/A N/A text some_text N/A name Donald Duck N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread domain name text N/A N/A self test_thread id N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A Comment objects count 1 N/A comment N/A N/A N/A N/A Comment objects all N/A 0 N/A N/A N/A self assertEqual N/A comment poster_name name N/A N/A N/A self assertEqual N/A comment text text N/A test_post_comment_user_ip_address_is_correct N/A N/A self N/A N/A N/A text some_text N/A name Donald Duck N/A ip 200.100.102.100 N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread domain ip_address name text N/A N/A self test_thread id N/A N/A N/A self test_thread site domain ip N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertEqual N/A N/A N/A Comment objects count 1 N/A comment N/A N/A N/A N/A Comment objects all N/A 0 N/A N/A N/A self assertEqual N/A comment ip_address ip N/A test_post_comment_without_name_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A text thread domain some text N/A N/A self test_thread id N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_without_text_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name thread domain Donald Duck N/A N/A self test_thread id N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_without_thread_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text domain Donald Duck some text N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_without_site_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread Donald Duck some text N/A N/A self test_thread id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_with_unknown_thread_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread domain Donald Duck some text 9999 N/A N/A N/A self test_thread site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_with_unknown_site_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread domain Donald Duck some text N/A N/A self test_thread id donald_ducks_site.com N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 400 N/A test_post_comment_returns_iframe_id_if_provided N/A N/A self N/A N/A N/A text some_text N/A name Donald Duck N/A iframeId some_donald_duck_id_123 N/A r N/A N/A N/A self client post N/A self endpoint_url data N/A poster_name text thread domain iframeId name text N/A N/A self test_thread id N/A N/A N/A self test_thread site domain iframeId N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertTrue N/A iframeId data N/A N/A N/A self assertEqual N/A data N/A iframeId iframeId N/A N/A GetCommentsCountTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self test_site N/A N/A N/A Site objects create domain example.com N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment_1 N/A N/A N/A Comment objects create poster_name Precise Pangolin thread N/A self test_thread text Pangolins are always precise! N/A N/A self test_comment_2 N/A N/A N/A Comment objects create poster_name Curious Benjamin thread N/A self test_thread text Growing in reverse! N/A N/A self test_comment_3 N/A N/A N/A Comment objects create poster_name Slow Loris thread N/A self test_thread text Real life Slowpoke! hidden True N/A N/A self endpoint_url N/A reverse comments:comment_count N/A test_comment_count_returns_correct_count N/A N/A self N/A N/A N/A r N/A N/A N/A self client get N/A self endpoint_url data N/A thread_url domain N/A N/A self test_thread url N/A N/A N/A self test_thread site domain N/A N/A N/A self assertEqual N/A r status_code 200 N/A resp N/A N/A json loads N/A r content N/A N/A N/A self assertEqual 2 N/A resp N/A comment_count N/A N/A GetCommentsEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment_1 N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text test text 1 N/A N/A self test_comment_2 N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text test text 2 N/A N/A self endpoint_url N/A reverse comments:get_comments N/A test_get_comments_successfully_returns_comments N/A N/A self N/A N/A N/A r N/A N/A N/A self client get N/A self endpoint_url data N/A thread domain N/A N/A self test_thread id N/A N/A N/A self test_thread site domain N/A N/A N/A self assertEqual N/A r status_code 200 N/A resp N/A N/A json loads N/A r content N/A N/A N/A self assertTrue N/A html resp N/A html N/A resp N/A html N/A N/A N/A self assertNotEqual html N/A N/A N/A self assertTrue N/A html_container_name resp N/A html_container_name N/A resp N/A html_container_name N/A N/A N/A self assertEqual html_container_name comments_container N/A test_get_comments_thread_not_provided_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client get N/A self endpoint_url data N/A domain N/A N/A N/A self test_thread site domain N/A N/A N/A self assertEqual N/A r status_code 400 N/A test_get_comments_domain_not_provided_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client get N/A self endpoint_url data N/A thread N/A N/A self test_thread url N/A N/A N/A self assertEqual N/A r status_code 400 N/A test_get_comments_domain_doesnt_exist_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client get N/A self endpoint_url data N/A thread domain N/A N/A self test_thread url donald_ducks_site.com N/A N/A N/A self assertEqual N/A r status_code 400 N/A N/A LikeCommentEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self email a@b.com N/A password pass N/A N/A self test_user N/A N/A N/A CustomUser objects create_user N/A self email password N/A N/A N/A self test_user full_name test name N/A N/A N/A N/A self test_user save N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com anonymous_allowed True N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text quack! N/A test_like_comment_suceeds N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment liked_by_count 1 N/A test_like_nonexisting_comment_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id 9999 data N/A domain N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 404 N/A comments N/A N/A N/A Comment objects filter liked_by_count__gt 0 N/A N/A N/A self assertEqual N/A N/A comments count 0 N/A test_like_comment_twice_does_not_undo_like N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self test_comment likes_count 0 N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A test_like_comment_twice_does_not_undo_like_logged_in_user N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.com password pass N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A test_like_disliked_comment_undoes_dislike_and_incerements_comment_likes N/A N/A self N/A N/A N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 0 N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A test_like_disliked_comment_undoes_dislike_and_incerements_comment_likes_logged_in_user N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.com password pass N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 0 N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A test_like_comment_returns_iframe_id_if_provided N/A N/A self N/A N/A N/A iframeId some_donald_duck_id_123 N/A r N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A iframeId domain iframeId N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertTrue N/A iframeId data N/A N/A N/A self assertEqual N/A data N/A iframeId iframeId N/A N/A DislikeCommentEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self email a@b.com N/A password pass N/A N/A self test_user N/A N/A N/A CustomUser objects create_user N/A self email password N/A N/A N/A self test_user full_name test name N/A N/A N/A N/A self test_user save N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com anonymous_allowed True N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text quack! N/A N/A self client N/A Client N/A test_dislike_comment_suceeds N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment disliked_by_count 1 N/A test_dislike_nonexisting_comment_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id 9999 data N/A domain N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 404 N/A comments N/A N/A N/A Comment objects filter disliked_by_count__gt 0 N/A N/A N/A self assertEqual N/A N/A comments count 0 N/A test_dislike_comment_twice_does_not_undo_dislike N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self test_comment likes_count 0 N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A test_dislike_comment_twice_does_not_undo_dislike_logged_in_user N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.com password pass N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A test_dislike_liked_comment_undoes_like_and_incerements_comment_dislikes N/A N/A self N/A N/A N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 0 N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A test_dislike_liked_comment_undoes_like_and_incerements_comment_dislikes_logged_in_user N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.com password pass N/A N/A N/A N/A self client post N/A reverse comments:like_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 1 N/A N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A domain N/A N/A self test_site domain N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertEqual N/A comment likes_count 0 N/A N/A N/A self assertEqual N/A comment dislikes_count 1 N/A test_dislike_comment_returns_iframe_id_if_provided N/A N/A self N/A N/A N/A iframeId some_donald_duck_id_123 N/A r N/A N/A N/A self client post N/A reverse comments:dislike_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A iframeId domain iframeId N/A N/A self test_site domain N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertTrue N/A iframeId data N/A N/A N/A self assertEqual N/A data N/A iframeId iframeId N/A N/A HideCommentEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self email a@b.com N/A password pass N/A N/A self test_user N/A N/A N/A CustomUser objects create_user N/A self email password N/A N/A N/A self test_user full_name test name N/A N/A N/A N/A self test_user save N/A N/A self test_admin N/A N/A N/A CustomUser objects create_superuser email admin@b.org password pass N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com anonymous_allowed True N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text quack! N/A test_hide_comment_suceeds N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertFalse N/A comment hidden N/A r N/A N/A N/A self client post N/A reverse comments:hide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertTrue N/A comment hidden N/A test_hide_comment_not_admin_fails N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.org password pass N/A r N/A N/A N/A self client post N/A reverse comments:hide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 403 N/A test_hide_comment_anon_user_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:hide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 403 N/A test_hide_nonexisting_comment_fails N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A r N/A N/A N/A self client post N/A reverse comments:hide_comment kwargs N/A comment_id 9999 N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 404 N/A test_hide_comment_returns_iframe_id_if_provided N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A iframeId some_donald_duck_id_123 N/A r N/A N/A N/A self client post N/A reverse comments:hide_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A iframeId iframeId N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertTrue N/A iframeId data N/A N/A N/A self assertEqual N/A data N/A iframeId iframeId N/A N/A UnhideCommentEndpointTestCase N/A BaseTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self email a@b.com N/A password pass N/A N/A self test_user N/A N/A N/A CustomUser objects create_user N/A self email password N/A N/A N/A self test_user full_name test name N/A N/A N/A N/A self test_user save N/A N/A self test_admin N/A N/A N/A CustomUser objects create_superuser email admin@b.org password pass N/A N/A self test_site N/A N/A N/A Site objects create domain testdomain.com anonymous_allowed True N/A N/A self test_thread N/A N/A N/A Thread objects create site N/A self test_site url test_url N/A N/A self test_comment N/A N/A N/A Comment objects create poster_name Donald Duck thread N/A self test_thread text quack! N/A test_unhide_comment_suceeds N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A comment hidden True N/A N/A N/A comment save N/A r N/A N/A N/A self client post N/A reverse comments:unhide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A N/A self assertFalse N/A comment hidden N/A test_unhide_comment_not_admin_fails N/A N/A self N/A N/A N/A N/A N/A N/A self client login email a@b.org password pass N/A r N/A N/A N/A self client post N/A reverse comments:unhide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 403 N/A test_unhide_comment_anon_user_fails N/A N/A self N/A N/A N/A r N/A N/A N/A self client post N/A reverse comments:unhide_comment kwargs N/A comment_id N/A N/A self test_comment id N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 403 N/A test_unhide_nonexisting_comment_fails N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A r N/A N/A N/A self client post N/A reverse comments:unhide_comment kwargs N/A comment_id 9999 N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 404 N/A test_unhide_comment_returns_iframe_id_if_provided N/A N/A self N/A N/A N/A N/A N/A N/A self client login email admin@b.org password pass N/A comment N/A N/A N/A Comment objects get id N/A N/A self test_comment id N/A N/A comment hidden True N/A N/A N/A comment save N/A iframeId some_donald_duck_id_123 N/A r N/A N/A N/A self client post N/A reverse comments:unhide_comment kwargs N/A comment_id N/A N/A self test_comment id data N/A iframeId iframeId N/A data N/A N/A self get_data_from_response N/A r content N/A status_code N/A data N/A status_code N/A N/A N/A self assertEqual status_code 200 N/A N/A N/A self assertTrue N/A iframeId data N/A N/A N/A self assertEqual N/A data N/A iframeId iframeId N/A N/A