Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Assign NameStore ListLoad Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore ListLoad Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore ListLoad Str Assign NameStore Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad NameLoad Index Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword Num attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword Num attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore ListLoad Str Assign NameStore Dict Str Str NameLoad Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Expr Call AttributeLoad NameLoad attr keyword Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A uploadpkg module tests. N/A logging google.apputils app tests.simian.mac.common test simian.mac.munki.handlers uploadpkg UploadPackageTest N/A N/A test RequestHandlerTest N/A GetTestClassInstance N/A N/A self N/A N/A N/A N/A N/A uploadpkg UploadPackage N/A GetTestClassModule N/A N/A self N/A N/A N/A uploadpkg N/A testGetSuccess N/A N/A self N/A N/A N/A Test get() with success. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsHttps N/A N/A N/A N/A N/A N/A uploadpkg handlers IsHttps N/A self c AndReturn True N/A N/A N/A self MockDoMunkiAuth N/A N/A N/A N/A N/A N/A self request get mode AndReturn success N/A N/A N/A N/A N/A N/A self request get msg None AndReturn None N/A N/A N/A N/A N/A N/A self request get key AndReturn key N/A N/A N/A N/A N/A N/A N/A self response out write key AndReturn None N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c get N/A N/A N/A N/A self mox VerifyAll N/A testGetError N/A N/A self N/A N/A N/A Test get() with error mode parameter. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsHttps N/A N/A N/A N/A N/A N/A uploadpkg handlers IsHttps N/A self c AndReturn True N/A N/A N/A self MockDoMunkiAuth N/A N/A N/A N/A N/A N/A self request get mode AndReturn error N/A N/A N/A N/A N/A N/A self request get msg None AndReturn msg N/A N/A N/A N/A self response set_status 400 N/A N/A N/A N/A N/A self response out write msg N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c get N/A N/A N/A N/A self mox VerifyAll N/A testGetReturnUploadUrl N/A N/A self N/A N/A N/A Test get() with no params, returns upload url. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsHttps N/A N/A N/A N/A N/A N/A uploadpkg handlers IsHttps N/A self c AndReturn True N/A N/A N/A self MockDoMunkiAuth N/A N/A N/A N/A N/A N/A self request get mode AndReturn N/A N/A N/A N/A N/A N/A self request get msg None AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore create_upload_url N/A N/A N/A N/A N/A N/A uploadpkg blobstore create_upload_url /uploadpkg gs_bucket_name None AndReturn /url N/A N/A N/A N/A N/A N/A N/A self response out write /url AndReturn None N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c get N/A N/A N/A N/A self mox VerifyAll N/A testPostNoFileUploaded N/A N/A self N/A N/A N/A Test post with no file supplied. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A upload_files N/A N/A filename fooname.dmg N/A pkginfo anything N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn upload_files N/A N/A N/A N/A N/A N/A self request get pkginfo AndReturn None N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=No%20file%20received N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostNoPackageInfoFileUploaded N/A N/A self N/A N/A N/A Test post with no file supplied. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A upload_files N/A some file N/A pkginfo_files N/A N/A filename fooname.dmg N/A pkginfo anything N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A self request get pkginfo AndReturn None N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=No%20file%20received N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithInvalidPkginfoPlist N/A N/A self N/A N/A N/A Tests uploading a package with an invalid pkginfo plist. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A mock_blob1 N/A N/A N/A self mox CreateMockAnything N/A mock_blob2 N/A N/A N/A self mox CreateMockAnything N/A blob1_key blobkey N/A blob2_key pkginfokey N/A upload_files N/A mock_blob1 N/A pkginfo_files N/A mock_blob2 N/A filename good.dmg N/A pkginfo BADBADBAD N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A N/A N/A N/A N/A mock_blob2 key AndReturn blob2_key N/A pkginfo_str pkginfo N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel blob2_key AndReturn pkginfo_str N/A N/A N/A N/A N/A mock_blob1 key AndReturn blob1_key N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndRaise N/A N/A uploadpkg plist_lib PlistError N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg logging exception N/A N/A N/A N/A N/A N/A uploadpkg logging exception Invalid pkginfo plist uploaded:
%s
 pkginfo_str AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeBlobDel N/A N/A N/A N/A N/A N/A uploadpkg gae_util SafeBlobDel blob1_key AndReturn None N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=No%20valid%20pkginfo%20received N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithUpdatedPackageBlob N/A N/A self N/A N/A N/A Test updating a package (delete old blob). N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A mock_user N/A N/A N/A self mox CreateMockAnything N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A user foouser N/A name fooname N/A filename name.dmg N/A pkginfo_str pkginfo N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A manifests N/A unstable N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A N/A self request get user AndReturn user N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn N/A N/A , join manifests N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ObtainLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ObtainLock N/A pkgsinfo_%s filename timeout 5.0 AndReturn True N/A pkg N/A N/A self MockModelStatic PackageInfo get_or_insert filename N/A N/A N/A N/A N/A pkg IsSafeToModify AndReturn True N/A N/A pkg blobstore_key old_key N/A N/A N/A N/A N/A mock_plist GetPackageName AndReturn name N/A N/A N/A N/A N/A pkg put AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeBlobDel N/A N/A N/A N/A N/A N/A uploadpkg gae_util SafeBlobDel old_key AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A N/A uploadpkg models Catalog Generate N/A N/A N/A N/A N/A uploadpkg models Catalog Generate N/A catalogs N/A 0 delay 1 N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ReleaseLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ReleaseLock N/A pkgsinfo_%s filename AndReturn True N/A N/A N/A N/A N/A mock_plist GetXml AndReturn pkginfo_str N/A mock_log N/A N/A self MockModel AdminPackageLog user user action uploadpkg filename filename catalogs catalogs manifests manifests install_types install_types plist pkginfo_str N/A N/A N/A N/A N/A mock_log put AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=success&key=%s blobstore_key N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A self assertEqual blobstore_key N/A pkg blobstore_key N/A N/A N/A self assertEqual name N/A pkg name N/A N/A N/A self assertEqual filename N/A pkg filename N/A N/A N/A self assertEqual install_types N/A pkg install_types N/A N/A N/A self assertEqual catalogs N/A pkg catalogs N/A N/A N/A self assertEqual user N/A pkg user N/A N/A N/A self assertEqual mock_plist N/A pkg plist N/A N/A N/A N/A self mox VerifyAll N/A testPostWithNewPackage N/A N/A self N/A N/A N/A Test uploading an entirely new package. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A user foouser N/A name fooname N/A filename filename.dmg N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A manifests N/A unstable N/A pkginfo_str pkginfo N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A N/A self request get user AndReturn user N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn N/A N/A , join manifests N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ObtainLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ObtainLock N/A pkgsinfo_%s filename timeout 5.0 AndReturn True N/A pkg N/A N/A self MockModelStatic PackageInfo get_or_insert filename N/A N/A N/A N/A N/A pkg IsSafeToModify AndReturn True N/A N/A pkg blobstore_key None N/A N/A N/A N/A N/A mock_plist GetPackageName AndReturn name N/A N/A N/A N/A N/A pkg put AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A N/A uploadpkg models Catalog Generate N/A N/A N/A N/A N/A uploadpkg models Catalog Generate N/A catalogs N/A 0 delay 1 N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ReleaseLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ReleaseLock N/A pkgsinfo_%s filename AndReturn True N/A N/A N/A N/A N/A mock_plist GetXml AndReturn pkginfo_str N/A mock_log N/A N/A self MockModel AdminPackageLog user user action uploadpkg filename filename catalogs catalogs manifests manifests install_types install_types plist pkginfo_str N/A N/A N/A N/A N/A mock_log put AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=success&key=%s blobstore_key N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A self assertEqual blobstore_key N/A pkg blobstore_key N/A N/A N/A self assertEqual name N/A pkg name N/A N/A N/A self assertEqual filename N/A pkg filename N/A N/A N/A self assertEqual install_types N/A pkg install_types N/A N/A N/A self assertEqual catalogs N/A pkg catalogs N/A N/A N/A self assertEqual user N/A pkg user N/A N/A N/A self assertEqual mock_plist N/A pkg plist N/A N/A N/A N/A self mox VerifyAll N/A testPostWithLock N/A N/A self N/A N/A N/A Test uploading where pkgsinfo is locked, revert package blob save. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A name fooname N/A filename filename.dmg N/A pkginfo_str <plist></plist> N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ObtainLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ObtainLock N/A pkgsinfo_%s filename timeout 5.0 AndReturn False N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeBlobDel N/A N/A N/A N/A uploadpkg gae_util SafeBlobDel blobstore_key N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=Could%20not%20lock%20pkgsinfo N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithFailureBecausePkginfoNotModifiable N/A N/A self N/A N/A N/A Test uploading where pkginfo is not modifiable. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A name fooname N/A filename filename.dmg N/A pkginfo_str <plist></plist> N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ObtainLock N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ReleaseLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ObtainLock N/A pkgsinfo_%s filename timeout 5.0 AndReturn True N/A pkg N/A N/A self MockModelStatic PackageInfo get_or_insert filename N/A N/A N/A N/A N/A pkg IsSafeToModify AndReturn False N/A N/A N/A N/A N/A N/A uploadpkg gae_util ReleaseLock N/A pkgsinfo_%s filename AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeBlobDel N/A N/A N/A N/A N/A N/A uploadpkg gae_util SafeBlobDel blobstore_key AndReturn None N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=Package%20is%20not%20modifiable N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithFailure N/A N/A self N/A N/A N/A Test uploading where db.put fails, revert package blob save. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A name fooname N/A filename filename.dmg N/A pkginfo_str <plist></plist> N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn True N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ObtainLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ObtainLock N/A pkgsinfo_%s filename timeout 5.0 AndReturn True N/A pkg N/A N/A self MockModelStatic PackageInfo get_or_insert filename N/A N/A N/A N/A N/A pkg IsSafeToModify AndReturn True N/A N/A pkg blobstore_key None N/A N/A pkg name name N/A N/A pkg filename filename N/A N/A N/A N/A N/A mock_plist GetPackageName AndReturn name N/A N/A N/A N/A N/A pkg put AndRaise N/A N/A uploadpkg db Error N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg logging exception N/A N/A N/A N/A N/A N/A uploadpkg logging exception error on PackageInfo.put() AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeBlobDel N/A N/A N/A N/A N/A N/A uploadpkg gae_util SafeBlobDel blobstore_key AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util SafeEntityDel N/A N/A N/A N/A uploadpkg gae_util SafeEntityDel pkg N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util ReleaseLock N/A N/A N/A N/A N/A N/A uploadpkg gae_util ReleaseLock N/A pkgsinfo_%s filename AndReturn True N/A N/A N/A self MockRedirect /uploadpkg?mode=error N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithBlobstoreWriteFailure N/A N/A self N/A N/A N/A Test uploading where Blobstore POSTs back, but Blob doesn't exist. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A self MockSelf get_uploads N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg gae_util GetBlobAndDel N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg plist_lib MunkiPackageInfoPlist N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg blobstore BlobInfo N/A mock_plist N/A N/A N/A self mox CreateMockAnything N/A blob N/A N/A N/A self mox CreateMockAnything N/A blob2 N/A N/A N/A self mox CreateMockAnything N/A upload_files N/A blob N/A pkginfo_files N/A blob2 N/A name fooname N/A filename filename.dmg N/A pkginfo_str <plist></plist> N/A install_types N/A managed_installs managed_updates N/A catalogs N/A unstable N/A pkginfo_dict N/A installer_item_location installer_item_hash filename hash N/A blobstore_key fookey N/A N/A N/A N/A N/A blob2 key AndReturn pkginfoblobkey N/A N/A N/A N/A N/A N/A self request get user AndReturn foouser N/A N/A N/A N/A N/A N/A self request get name AndReturn filename N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A , join install_types N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn N/A N/A , join catalogs N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A N/A N/A N/A self c get_uploads file AndReturn upload_files N/A N/A N/A N/A N/A N/A self c get_uploads pkginfo AndReturn pkginfo_files N/A N/A N/A N/A N/A N/A uploadpkg gae_util GetBlobAndDel pkginfoblobkey AndReturn pkginfo_str N/A N/A N/A N/A N/A N/A uploadpkg plist_lib MunkiPackageInfoPlist pkginfo_str AndReturn mock_plist N/A N/A N/A N/A N/A mock_plist Parse AndReturn None N/A N/A N/A N/A N/A blob key AndReturn blobstore_key N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_location AndReturn filename N/A N/A N/A N/A N/A mock_plist __getitem__ installer_item_hash AndReturn hash N/A N/A N/A N/A N/A N/A N/A uploadpkg blobstore BlobInfo get blobstore_key AndReturn None N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg logging critical N/A N/A N/A N/A N/A N/A uploadpkg logging critical Blobstore returned a key for %s that does not exist: %s filename blobstore_key AndReturn None N/A N/A N/A self MockRedirect /uploadpkg?mode=error&msg=Blobstore%20failure N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A testPostWithMissingArgs N/A N/A self N/A N/A N/A Test updating a package with missing name/track/etc. N/A N/A N/A N/A self mox StubOutWithMock N/A uploadpkg handlers IsBlobstore N/A msg uploadpkg POST required parameters missing N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A N/A N/A N/A self request get user AndReturn N/A N/A N/A N/A N/A N/A self request get name AndReturn anything N/A N/A N/A N/A N/A N/A self request get install_types AndReturn anything N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn anything N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=error&msg=%s msg N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A N/A N/A N/A self request get user AndReturn anything N/A N/A N/A N/A N/A N/A self request get name AndReturn N/A N/A N/A N/A N/A N/A self request get install_types AndReturn anything N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn anything N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=error&msg=%s msg N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A N/A N/A N/A self request get user AndReturn anything N/A N/A N/A N/A N/A N/A self request get name AndReturn anything N/A N/A N/A N/A N/A N/A self request get install_types AndReturn N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn anything N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=error&msg=%s msg N/A N/A N/A N/A N/A N/A uploadpkg handlers IsBlobstore AndReturn True N/A N/A N/A self MockDoMunkiAuth require_level N/A N/A uploadpkg gaeserver LEVEL_UPLOADPKG N/A N/A N/A N/A N/A N/A self request get user AndReturn anything N/A N/A N/A N/A N/A N/A self request get name AndReturn anything N/A N/A N/A N/A N/A N/A self request get install_types AndReturn anything N/A N/A N/A N/A N/A N/A self request get catalogs None AndReturn None N/A N/A N/A N/A N/A N/A self request get manifests None AndReturn None N/A N/A N/A self MockRedirect N/A /uploadpkg?mode=error&msg=%s msg N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self c post N/A N/A N/A N/A self c post N/A N/A N/A N/A self c post N/A N/A N/A N/A self c post N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A N/A logging basicConfig filename /dev/null main N/A N/A unused_argv N/A N/A N/A N/A N/A test main unused_argv N/A N/A N/A __name__ __main__ N/A N/A N/A N/A app run