Module Import alias Import alias Import alias Import alias ImportFrom alias Import alias identifier Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str keyword ListLoad Str keyword Dict Str NameLoad keyword ListLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Dict Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Call NameLoad Call NameLoad keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Index Str Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Dict Str Str keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad keyword Dict Str AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword BinOpAdd Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Dict Str Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword Dict Str NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword Str Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Dict Str Str keyword Dict Str Str Str Str Str Str Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Dict Str Str Str Str Str Str Str Str Str Dict Str AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr BinOpBitAnd Call NameLoad Str Str Str Call NameLoad Str Str Num Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword 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 NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Dict Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Set Str Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Set Str Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Set Str Str Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Set Str Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Set Str Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore ListLoad Str Str Str body Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Expr Call NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body If NameLoad body Return SubscriptLoad AttributeLoad NameLoad attr Index Num Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Dict Expr Call NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Dict Expr Call NameLoad AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Num attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call NameLoad SubscriptLoad NameLoad Index Num NameLoad Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad keyword Str keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword Str keyword Str keyword ListLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Dict Str Str AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr keyword Str keyword Str Expr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A time N/A mock N/A datetime N/A unittest nose.tools * N/A httplib http N/A jwe N/A jwt N/A furl N/A itsdangerous modularodm storage Q framework.auth cas framework.auth signing framework.auth.core Auth framework.exceptions HTTPError framework.sessions.model Session framework.mongo set_up_storage tests factories website settings website.files models website.files.models.base PROVIDER_MAP StoredFileNode TrashedFileNode website.project.model MetaSchema ensure_schemas website.util api_url_for rubeus website.project new_private_link website.project.views.node _view_project serialize_node website.addons.base AddonConfig AddonNodeSettingsBase views tests.base OsfTestCase tests.factories AuthUserFactory ProjectFactory website.addons.github.exceptions ApiError website.addons.github.tests.factories GitHubAccountFactory TestAddonConfig N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self addon_config N/A AddonConfig short_name test full_name test owners N/A node added_to N/A node False categories N/A settings_model AddonNodeSettingsBase N/A test_static_url_relative N/A N/A self N/A N/A N/A url N/A N/A N/A self addon_config _static_url foo N/A N/A assert_equal url /static/addons/test/foo N/A test_deleted_defaults_to_false N/A N/A self N/A N/A MyAddonSettings N/A AddonNodeSettingsBase N/A N/A N/A N/A config N/A MyAddonSettings N/A N/A assert_is N/A config deleted False N/A test_static_url_absolute N/A N/A self N/A N/A N/A url N/A N/A N/A self addon_config _static_url /foo N/A N/A assert_equal url /foo N/A N/A SetEnvironMiddleware N/A object N/A __init__ N/A N/A self app N/A kwargs N/A N/A N/A self app app N/A N/A self kwargs kwargs N/A __call__ N/A N/A self environ start_response N/A N/A N/A N/A N/A environ update N/A self kwargs N/A N/A N/A self app environ start_response N/A N/A TestAddonAuth N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestAddonAuth self setUp N/A N/A self user N/A AuthUserFactory N/A N/A self auth_obj N/A Auth user N/A self user N/A N/A self node N/A ProjectFactory creator N/A self user N/A N/A self session N/A Session data N/A auth_user_id N/A N/A self user _id N/A N/A N/A N/A self session save N/A N/A self cookie N/A N/A N/A N/A itsdangerous Signer N/A settings SECRET_KEY sign N/A N/A self session _id N/A N/A N/A self configure_addon N/A N/A self JWE_KEY N/A N/A jwe kdf N/A N/A N/A settings WATERBUTLER_JWE_SECRET encode utf-8 N/A N/A N/A settings WATERBUTLER_JWE_SALT encode utf-8 N/A configure_addon N/A N/A self N/A N/A N/A N/A N/A N/A self user add_addon github N/A N/A self user_addon N/A N/A N/A self user get_addon github N/A N/A self oauth_settings N/A GitHubAccountFactory display_name john N/A N/A N/A N/A self oauth_settings save N/A N/A N/A N/A N/A self user external_accounts append N/A self oauth_settings N/A N/A N/A N/A self user save N/A N/A N/A N/A self node add_addon github N/A self auth_obj N/A N/A self node_addon N/A N/A N/A self node get_addon github N/A N/A N/A self node_addon user john N/A N/A N/A self node_addon repo youre-my-best-friend N/A N/A N/A self node_addon user_settings N/A self user_addon N/A N/A N/A self node_addon external_account N/A self oauth_settings N/A N/A N/A N/A self node_addon save N/A build_url N/A N/A self N/A kwargs N/A N/A options N/A payload N/A N/A jwe encrypt N/A N/A jwt encode N/A data exp N/A dict N/A dict action download nid N/A N/A self node _id provider N/A N/A N/A self node_addon config short_name kwargs N/A N/A N/A N/A datetime datetime utcnow N/A N/A datetime timedelta seconds N/A settings WATERBUTLER_JWT_EXPIRATION N/A settings WATERBUTLER_JWT_SECRET algorithm N/A settings WATERBUTLER_JWT_ALGORITHM N/A self JWE_KEY N/A N/A api_url_for get_auth options N/A test_auth_download N/A N/A self N/A N/A N/A url N/A N/A self build_url N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A data N/A N/A N/A jwt decode N/A N/A jwe decrypt N/A N/A N/A N/A res json N/A payload encode utf-8 N/A self JWE_KEY N/A settings WATERBUTLER_JWT_SECRET algorithm N/A settings WATERBUTLER_JWT_ALGORITHM N/A data N/A N/A assert_equal N/A data N/A auth N/A N/A views make_auth N/A self user N/A N/A assert_equal N/A data N/A credentials N/A N/A N/A self node_addon serialize_waterbutler_credentials N/A N/A assert_equal N/A data N/A settings N/A N/A N/A self node_addon serialize_waterbutler_settings N/A expected_url N/A N/A furl furl N/A N/A N/A self node api_url_for create_waterbutler_log _absolute True N/A observed_url N/A N/A furl furl N/A data N/A callback_url N/A N/A observed_url port N/A expected_url port N/A N/A assert_equal expected_url observed_url N/A test_auth_missing_args N/A N/A self N/A N/A N/A url N/A N/A self build_url cookie None N/A res N/A N/A N/A self app get url expect_errors True N/A N/A assert_equal N/A res status_code 401 N/A test_auth_bad_cookie N/A N/A self N/A N/A N/A url N/A N/A self build_url cookie N/A self cookie N/A res N/A N/A N/A self app get url expect_errors True N/A N/A assert_equal N/A res status_code 200 N/A data N/A N/A N/A jwt decode N/A N/A jwe decrypt N/A N/A N/A N/A res json N/A payload encode utf-8 N/A self JWE_KEY N/A settings WATERBUTLER_JWT_SECRET algorithm N/A settings WATERBUTLER_JWT_ALGORITHM N/A data N/A N/A assert_equal N/A data N/A auth N/A N/A views make_auth N/A self user N/A N/A assert_equal N/A data N/A credentials N/A N/A N/A self node_addon serialize_waterbutler_credentials N/A N/A assert_equal N/A data N/A settings N/A N/A N/A self node_addon serialize_waterbutler_settings N/A expected_url N/A N/A furl furl N/A N/A N/A self node api_url_for create_waterbutler_log _absolute True N/A observed_url N/A N/A furl furl N/A data N/A callback_url N/A N/A observed_url port N/A expected_url port N/A N/A assert_equal expected_url observed_url N/A test_auth_cookie N/A N/A self N/A N/A N/A url N/A N/A self build_url cookie N/A N/A self cookie N/A -1 N/A res N/A N/A N/A self app get url expect_errors True N/A N/A assert_equal N/A res status_code 401 N/A test_auth_missing_addon N/A N/A self N/A N/A N/A url N/A N/A self build_url provider queenhub N/A res N/A N/A N/A self app get url expect_errors True auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 400 N/A test_auth_bad_bearer_token N/A N/A self mock_cas_client N/A N/A N/A N/A mock_cas_client return_value N/A N/A mock Mock profile N/A N/A mock Mock return_value N/A N/A cas CasResponse authenticated False N/A url N/A N/A self build_url N/A res N/A N/A N/A self app get url headers N/A Authorization Bearer invalid_access_token expect_errors True N/A N/A assert_equal N/A res status_code 403 N/A N/A N/A mock patch website.addons.base.views.cas.get_client N/A TestAddonLogs N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestAddonLogs self setUp N/A N/A self user N/A AuthUserFactory N/A N/A self auth_obj N/A Auth user N/A self user N/A N/A self node N/A ProjectFactory creator N/A self user N/A N/A self session N/A Session data N/A auth_user_id N/A N/A self user _id N/A N/A N/A N/A self session save N/A N/A self cookie N/A N/A N/A N/A itsdangerous Signer N/A settings SECRET_KEY sign N/A N/A self session _id N/A N/A N/A self configure_addon N/A configure_addon N/A N/A self N/A N/A N/A N/A N/A N/A self user add_addon github N/A N/A self user_addon N/A N/A N/A self user get_addon github N/A N/A self oauth_settings N/A GitHubAccountFactory display_name john N/A N/A N/A N/A self oauth_settings save N/A N/A N/A N/A N/A self user external_accounts append N/A self oauth_settings N/A N/A N/A N/A self user save N/A N/A N/A N/A self node add_addon github N/A self auth_obj N/A N/A self node_addon N/A N/A N/A self node get_addon github N/A N/A N/A self node_addon user john N/A N/A N/A self node_addon repo youre-my-best-friend N/A N/A N/A self node_addon user_settings N/A self user_addon N/A N/A N/A self node_addon external_account N/A self oauth_settings N/A N/A N/A N/A self node_addon save N/A build_payload N/A N/A self metadata N/A kwargs N/A N/A options N/A dict auth N/A id N/A N/A self user _id action create provider N/A N/A N/A self node_addon config short_name metadata metadata time N/A N/A N/A time time 1000 N/A N/A N/A options update kwargs N/A options N/A key value N/A N/A key value N/A N/A options iteritems N/A value None N/A N/A message signature N/A N/A N/A signing default_signer sign_payload options N/A N/A payload signature message signature N/A test_add_log N/A N/A self mock_perform N/A N/A N/A path pizza N/A url N/A N/A N/A self node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload metadata N/A path path N/A nlogs N/A len N/A N/A self node logs N/A N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A len N/A N/A self node logs N/A nlogs 1 N/A N/A assert_true N/A mock_perform called perform not called N/A N/A N/A mock patch website.notifications.events.files.FileAdded.perform test_add_log_missing_args N/A N/A self N/A N/A N/A path pizza N/A url N/A N/A N/A self node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload metadata N/A path path auth None N/A nlogs N/A len N/A N/A self node logs N/A res N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json expect_errors True N/A N/A assert_equal N/A res status_code 400 N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A len N/A N/A self node logs nlogs N/A test_add_log_no_user N/A N/A self N/A N/A N/A path pizza N/A url N/A N/A N/A self node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload metadata N/A path path auth N/A id None N/A nlogs N/A len N/A N/A self node logs N/A res N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json expect_errors True N/A N/A assert_equal N/A res status_code 400 N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A len N/A N/A self node logs nlogs N/A test_add_log_no_addon N/A N/A self N/A N/A N/A path pizza N/A node N/A ProjectFactory creator N/A self user N/A url N/A N/A node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload metadata N/A path path N/A nlogs N/A len N/A node logs N/A res N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json expect_errors True N/A N/A assert_equal N/A res status_code 400 N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A len N/A node logs nlogs N/A test_add_log_bad_action N/A N/A self N/A N/A N/A path pizza N/A url N/A N/A N/A self node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload metadata N/A path path action dance N/A nlogs N/A len N/A N/A self node logs N/A res N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json expect_errors True N/A N/A assert_equal N/A res status_code 400 N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A len N/A N/A self node logs nlogs N/A test_action_file_rename N/A N/A self N/A N/A N/A url N/A N/A N/A self node api_url_for create_waterbutler_log N/A payload N/A N/A self build_payload action rename metadata N/A path foo source N/A materialized provider node name kind foo github N/A _id N/A N/A self node _id new.txt file destination N/A path materialized provider node name kind foo foo github N/A _id N/A N/A self node _id old.txt file N/A N/A N/A N/A self app put_json url payload headers N/A Content-Type application/json N/A N/A N/A N/A self node reload N/A N/A assert_equal N/A N/A N/A N/A self node logs N/A -1 action github_addon_file_renamed N/A N/A TestCheckAuth N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestCheckAuth self setUp N/A N/A self user N/A AuthUserFactory N/A N/A self node N/A ProjectFactory creator N/A self user N/A test_has_permission N/A N/A self N/A N/A N/A res N/A N/A views check_access N/A self node N/A Auth user N/A self user upload None N/A N/A assert_true res N/A test_not_has_permission_read_public N/A N/A self N/A N/A N/A N/A N/A self node is_public True N/A N/A N/A N/A self node save N/A res N/A N/A views check_access N/A self node N/A Auth download None N/A test_not_has_permission_read_has_link N/A N/A self N/A N/A N/A link N/A new_private_link red-special N/A self user N/A N/A self node anonymous False N/A res N/A N/A views check_access N/A self node N/A Auth private_key N/A link key download None N/A test_not_has_permission_logged_in N/A N/A self N/A N/A N/A user2 N/A AuthUserFactory N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access N/A self node N/A Auth user user2 download None N/A N/A assert_equal N/A N/A exc_info exception code 403 N/A test_not_has_permission_not_logged_in N/A N/A self N/A N/A N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access N/A self node N/A Auth download None N/A N/A assert_equal N/A N/A exc_info exception code 401 N/A test_has_permission_on_parent_node_copyto_pass_if_registration N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin parent N/A self node N/A N/A component is_registration True N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A res N/A N/A views check_access component N/A Auth user N/A self user copyto None N/A N/A assert_true res N/A test_has_permission_on_parent_node_copyto_fail_if_not_registration N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin parent N/A self node N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A N/A assert_raises HTTPError N/A N/A N/A N/A views check_access component N/A Auth user N/A self user copyto None N/A test_has_permission_on_parent_node_copyfrom N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A res N/A N/A views check_access component N/A Auth user N/A self user copyfrom None N/A N/A assert_true res N/A N/A TestCheckPreregAuth N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestCheckPreregAuth self setUp N/A N/A ensure_schemas N/A N/A self prereg_challenge_admin_user N/A AuthUserFactory N/A N/A N/A N/A N/A self prereg_challenge_admin_user system_tags append N/A settings PREREG_ADMIN_TAG N/A N/A N/A N/A self prereg_challenge_admin_user save N/A prereg_schema N/A N/A MetaSchema find_one N/A N/A Q name eq Prereg Challenge N/A Q schema_version eq 2 N/A N/A self user N/A AuthUserFactory N/A N/A self node N/A N/A factories ProjectFactory creator N/A self user N/A N/A self parent N/A N/A factories ProjectFactory N/A N/A self child N/A N/A factories NodeFactory parent N/A self parent N/A N/A self draft_registration N/A N/A factories DraftRegistrationFactory initiator N/A self user registration_schema prereg_schema branched_from N/A self parent N/A test_has_permission_download_prereg_challenge_admin N/A N/A self N/A N/A N/A res N/A N/A views check_access N/A N/A self draft_registration branched_from N/A Auth user N/A self prereg_challenge_admin_user download None N/A N/A assert_true res N/A test_has_permission_download_on_component_prereg_challenge_admin N/A N/A self N/A N/A N/A N/A N/A res N/A N/A views check_access N/A N/A N/A N/A self draft_registration branched_from nodes N/A 0 N/A Auth user N/A self prereg_challenge_admin_user download None N/A N/A N/A Exception N/A N/A N/A N/A self fail N/A N/A assert_true res N/A test_has_permission_download_not_prereg_challenge_admin N/A N/A self N/A N/A N/A new_user N/A AuthUserFactory N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access N/A N/A self draft_registration branched_from N/A Auth user new_user download None N/A N/A assert_equal N/A N/A exc_info exception code N/A http FORBIDDEN N/A test_has_permission_download_prereg_challenge_admin_not_draft N/A N/A self N/A N/A N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access N/A self node N/A Auth user N/A self prereg_challenge_admin_user download None N/A N/A assert_equal N/A N/A exc_info exception code N/A http FORBIDDEN N/A test_has_permission_write_prereg_challenge_admin N/A N/A self N/A N/A N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access N/A N/A self draft_registration branched_from N/A Auth user N/A self prereg_challenge_admin_user write None N/A N/A assert_equal N/A N/A exc_info exception code N/A http FORBIDDEN N/A N/A TestCheckOAuth N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestCheckOAuth self setUp N/A N/A self user N/A AuthUserFactory N/A N/A self node N/A ProjectFactory creator N/A self user N/A test_has_permission_private_not_authenticated N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated False N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_equal N/A N/A exc_info exception code 403 N/A test_has_permission_private_no_scope_forbidden N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_equal N/A N/A exc_info exception code 403 N/A test_has_permission_public_irrelevant_scope_allowed N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public True parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A osf.users.all_read N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A res N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_true res N/A test_has_permission_private_irrelevant_scope_forbidden N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A osf.users.all_read N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_equal N/A N/A exc_info exception code 403 N/A test_has_permission_decommissioned_scope_no_error N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A decommissioned.scope+write osf.nodes.data_read N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A res N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_true res N/A test_has_permission_write_scope_read_action N/A N/A self N/A N/A N/A component_admin N/A AuthUserFactory N/A component N/A ProjectFactory creator component_admin is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A osf.nodes.data_write N/A N/A assert_false N/A N/A component has_permission N/A self user write N/A res N/A N/A views check_access component N/A Auth user N/A self user download cas_resp N/A N/A assert_true res N/A test_has_permission_read_scope_write_action_forbidden N/A N/A self N/A N/A N/A component N/A ProjectFactory creator N/A self user is_public False parent N/A self node N/A cas_resp N/A N/A cas CasResponse authenticated True status None user N/A N/A self user _id attributes N/A accessTokenScope N/A osf.nodes.data_read N/A N/A assert_true N/A N/A component has_permission N/A self user write N/A N/A assert_raises HTTPError exc_info N/A N/A N/A N/A views check_access component N/A Auth user N/A self user upload cas_resp N/A N/A assert_equal N/A N/A exc_info exception code 403 N/A N/A assert_urls_equal N/A N/A url1 url2 N/A N/A N/A furl1 N/A N/A furl furl url1 N/A furl2 N/A N/A furl furl url2 N/A attr N/A scheme host port N/A N/A N/A setattr furl1 attr None N/A N/A setattr furl2 attr None N/A N/A assert_equal N/A dict N/A furl1 args N/A dict N/A furl2 args N/A N/A furl1 args N/A N/A N/A furl2 args N/A N/A N/A assert_equal furl1 furl2 N/A TestFileNode N/A N/A models FileNode N/A N/A provider test_addons touch N/A N/A self bearer revision N/A None kwargs N/A N/A revision N/A N/A N/A N/A self versions N/A 0 N/A N/A N/A models FileVersion N/A N/A TestFile N/A TestFileNode N/A models File N/A N/A N/A TestFolder N/A TestFileNode N/A models Folder N/A N/A N/A TestAddonFileViews N/A OsfTestCase N/A setUpClass N/A N/A cls N/A N/A N/A N/A N/A N/A super TestAddonFileViews cls setUpClass N/A N/A PROVIDER_MAP N/A github N/A TestFolder TestFile TestFileNode N/A N/A TestFileNode provider github N/A classmethod setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestAddonFileViews self setUp N/A N/A self user N/A AuthUserFactory N/A N/A self project N/A ProjectFactory creator N/A self user N/A N/A N/A N/A self user add_addon github N/A N/A N/A N/A self project add_addon github auth N/A Auth N/A self user N/A N/A self user_addon N/A N/A N/A self user get_addon github N/A N/A self node_addon N/A N/A N/A self project get_addon github N/A N/A self oauth N/A GitHubAccountFactory N/A N/A N/A N/A self oauth save N/A N/A N/A N/A N/A self user external_accounts append N/A self oauth N/A N/A N/A N/A self user save N/A N/A N/A self node_addon user_settings N/A self user_addon N/A N/A N/A self node_addon external_account N/A self oauth N/A N/A N/A self node_addon repo Truth N/A N/A N/A self node_addon user E N/A N/A N/A N/A self node_addon save N/A tearDownClass N/A N/A cls N/A N/A N/A N/A N/A N/A super TestAddonFileViews cls tearDownClass N/A N/A PROVIDER_MAP N/A github N/A N/A models GithubFolder N/A models GithubFile N/A models GithubFileNode N/A N/A PROVIDER_MAP N/A test_addons N/A N/A N/A TrashedFileNode remove N/A classmethod get_test_file N/A N/A self N/A N/A N/A version N/A N/A models FileVersion identifier 1 N/A N/A N/A version save N/A ret N/A TestFile name Test node N/A self project path /test/Test materialized_path /test/Test versions N/A version N/A N/A N/A ret save N/A ret N/A get_mako_return N/A N/A self N/A N/A N/A ret N/A serialize_node N/A self project N/A Auth N/A self user primary True N/A N/A N/A ret update N/A error provider file_path sharejs_uuid private urls size extra file_name materialized_path file_id N/A files render sharejs mfr gravatar external N/A N/A N/A ret update N/A N/A rubeus collect_addon_assets N/A self project N/A ret N/A test_redirects_to_guid N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A resp N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A N/A N/A file_node path strip / provider github auth N/A N/A self user auth N/A N/A assert_equals N/A resp status_code 302 N/A N/A assert_equals N/A resp location N/A N/A http://localhost:80/{}/ format N/A guid _id N/A test_action_download_redirects_to_download N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A resp N/A N/A N/A self app get N/A N/A /{}/?action=download format N/A guid _id auth N/A N/A self user auth N/A N/A assert_equals N/A resp status_code 302 N/A location N/A N/A furl furl N/A resp location N/A N/A assert_urls_equal N/A location url N/A N/A file_node generate_waterbutler_url action download direct None version None N/A test_action_download_redirects_to_download_with_version N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A resp N/A N/A N/A self app get N/A N/A /{}/?action=download&revision=1 format N/A guid _id auth N/A N/A self user auth N/A N/A assert_equals N/A resp status_code 302 N/A location N/A N/A furl furl N/A resp location N/A N/A assert_urls_equal N/A location url N/A N/A file_node generate_waterbutler_url action download direct None revision 1 version 1 N/A test_action_view_calls_view_file N/A N/A self mock_view_file N/A N/A N/A N/A N/A N/A self user reload N/A N/A N/A N/A self project reload N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A N/A mock_view_file return_value N/A N/A self get_mako_return N/A N/A N/A N/A self app get N/A N/A /{}/?action=view format N/A guid _id auth N/A N/A self user auth N/A N/A args kwargs N/A mock_view_file call_args N/A N/A assert_equals kwargs N/A N/A N/A assert_equals N/A N/A N/A args N/A 0 user _id N/A N/A self user _id N/A N/A assert_equals N/A args N/A 1 N/A self project N/A N/A assert_equals N/A args N/A 2 file_node N/A N/A assert_true N/A isinstance N/A args N/A 3 N/A N/A N/A file_node touch None __class__ N/A N/A N/A mock patch website.addons.base.views.addon_view_file test_no_action_calls_view_file N/A N/A self mock_view_file N/A N/A N/A N/A N/A N/A self user reload N/A N/A N/A N/A self project reload N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A N/A mock_view_file return_value N/A N/A self get_mako_return N/A N/A N/A N/A self app get N/A N/A /{}/ format N/A guid _id auth N/A N/A self user auth N/A N/A args kwargs N/A mock_view_file call_args N/A N/A assert_equals kwargs N/A N/A N/A assert_equals N/A N/A N/A args N/A 0 user _id N/A N/A self user _id N/A N/A assert_equals N/A args N/A 1 N/A self project N/A N/A assert_equals N/A args N/A 2 file_node N/A N/A assert_true N/A isinstance N/A args N/A 3 N/A N/A N/A file_node touch None __class__ N/A N/A N/A mock patch website.addons.base.views.addon_view_file test_download_create_guid N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A N/A assert_is N/A N/A file_node get_guid None N/A N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A N/A N/A file_node path strip / provider github auth N/A N/A self user auth N/A N/A assert_true N/A N/A file_node get_guid N/A test_unauthorized_addons_raise N/A N/A self N/A N/A N/A path cloudfiles N/A N/A N/A self node_addon user_settings None N/A N/A N/A N/A self node_addon save N/A resp N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path path provider github action download auth N/A N/A self user auth expect_errors True N/A N/A assert_equals N/A resp status_code 401 N/A test_nonstorage_addons_raise N/A N/A self N/A N/A N/A resp N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path sillywiki provider wiki action download auth N/A N/A self user auth expect_errors True N/A N/A assert_equals N/A resp status_code 400 N/A test_head_returns_url N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A resp N/A N/A N/A self app head N/A N/A /{}/ format N/A guid _id auth N/A N/A self user auth N/A location N/A N/A furl furl N/A resp location N/A N/A assert_urls_equal N/A location url N/A N/A file_node generate_waterbutler_url direct None version None N/A test_head_returns_url_with_version N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A guid N/A N/A file_node get_guid create True N/A resp N/A N/A N/A self app head N/A N/A /{}/?revision=1&foo=bar format N/A guid _id auth N/A N/A self user auth N/A location N/A N/A furl furl N/A resp location N/A N/A assert_urls_equal N/A location url N/A N/A file_node generate_waterbutler_url direct None revision 1 version 1 foo bar N/A test_nonexistent_addons_raise N/A N/A self N/A N/A N/A path cloudfiles N/A N/A N/A N/A self project delete_addon github N/A Auth N/A self user N/A N/A N/A N/A self project save N/A resp N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path path provider github action download auth N/A N/A self user auth expect_errors True N/A N/A assert_equals N/A resp status_code 400 N/A test_unauth_addons_raise N/A N/A self N/A N/A N/A path cloudfiles N/A N/A N/A self node_addon user_settings None N/A N/A N/A N/A self node_addon save N/A resp N/A N/A N/A self app get N/A N/A N/A self project web_url_for addon_view_or_download_file path path provider github action download auth N/A N/A self user auth expect_errors True N/A N/A assert_equals N/A resp status_code 401 N/A test_delete_action_creates_trashed_file_node N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A payload N/A provider metadata N/A file_node provider N/A path materialized /test/Test /test/Test N/A N/A N/A views addon_delete_file_node self None node N/A self project user N/A self user event_type file_removed payload payload N/A N/A assert_false N/A N/A StoredFileNode load N/A file_node _id N/A N/A assert_true N/A N/A TrashedFileNode load N/A file_node _id N/A test_delete_action_for_folder_deletes_subfolders_and_creates_trashed_file_nodes N/A N/A self N/A N/A N/A file_node N/A N/A self get_test_file N/A subfolder N/A TestFolder name folder node N/A self project path /test/folder/ materialized_path /test/folder/ versions N/A N/A N/A N/A subfolder save N/A payload N/A provider metadata N/A file_node provider N/A path materialized /test/ /test/ N/A N/A N/A views addon_delete_file_node self None node N/A self project user N/A self user event_type file_removed payload payload N/A N/A assert_false N/A N/A StoredFileNode load N/A file_node _id N/A N/A assert_true N/A N/A TrashedFileNode load N/A file_node _id N/A N/A assert_false N/A N/A StoredFileNode load N/A subfolder _id N/A N/A N/A N/A mock patch website.addons.github.model.GitHubClient.repo N/A N/A mock Mock side_effect ApiError TestLegacyViews N/A OsfTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestLegacyViews self setUp N/A N/A self path mercury.png N/A N/A self user N/A AuthUserFactory N/A N/A self project N/A ProjectFactory creator N/A self user N/A N/A self node_addon N/A N/A N/A self project get_addon osfstorage N/A file_record N/A N/A N/A N/A N/A self node_addon get_root append_file N/A self path N/A N/A self expected_path N/A file_record _id N/A N/A N/A N/A self node_addon save N/A N/A N/A file_record save N/A test_view_file_redirect N/A N/A self N/A N/A N/A url N/A N/A /{0}/osffiles/{1}/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file action view path N/A self expected_path provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_download_file_redirect N/A N/A self N/A N/A N/A url N/A N/A /{0}/osffiles/{1}/download/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A self expected_path action download provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_download_file_version_redirect N/A N/A self N/A N/A N/A url N/A N/A /{0}/osffiles/{1}/version/3/download/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file version 3 path N/A self expected_path action download provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_api_download_file_redirect N/A N/A self N/A N/A N/A url N/A N/A /api/v1/project/{0}/osffiles/{1}/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A self expected_path action download provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_api_download_file_version_redirect N/A N/A self N/A N/A N/A url N/A N/A /api/v1/project/{0}/osffiles/{1}/version/3/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file version 3 path N/A self expected_path action download provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_no_provider_name N/A N/A self N/A N/A N/A url N/A N/A /{0}/files/{1} format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file action view path N/A self expected_path provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_action_as_param N/A N/A self N/A N/A N/A url N/A N/A /{}/osfstorage/files/{}/?action=download format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A self expected_path action download provider osfstorage N/A N/A assert_urls_equal N/A res location expected_url N/A test_other_addon_redirect N/A N/A self N/A N/A N/A url N/A N/A /project/{0}/mycooladdon/files/{1}/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file action view path N/A self path provider mycooladdon N/A N/A assert_urls_equal N/A res location expected_url N/A test_other_addon_redirect_download N/A N/A self N/A N/A N/A url N/A N/A /project/{0}/mycooladdon/files/{1}/download/ format N/A N/A self project _id N/A self path N/A res N/A N/A N/A self app get url auth N/A N/A self user auth N/A N/A assert_equal N/A res status_code 301 N/A expected_url N/A N/A N/A self project web_url_for addon_view_or_download_file path N/A self path action download provider mycooladdon N/A N/A assert_urls_equal N/A res location expected_url N/A N/A