Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Dict Str Str Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Num Str Str Str BinOpMult Str Num Num Str Str Str Str Str Assign AttributeStore NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr SubscriptLoad NameLoad Index Str Str Expr Yield decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert NameLoad Str Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Num With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword Dict Str Str Num Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Index Num Index Num Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad With Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Str Str With Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str body Pass Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Str Str With Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str body Pass Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Str Str With Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str body Pass Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Str Str TryExcept body With Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str body Raise Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str handlers ExceptHandler type NameLoad body Pass Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword Str Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Assign NameStore ListLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Str keyword Str attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str keyword NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Str Str keyword NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Str Assign NameStore Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad body With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Str Str keyword NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Str Str NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Str Str Str keyword NameLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Dict Str Str Str Str Assign NameStore Dict Str Str Str Str With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str With Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore body FunctionDef arguments args defaults vararg body Raise Call NameLoad Str keyword Num keyword Str keyword Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num NameLoad Str Str NameLoad NameLoad Assert CompareIs NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Num NameLoad Str Str Str Str Str Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str Str Num NameLoad Str Str Str Str Str Str Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Str Str keyword NameLoad With Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore body Assign AttributeStore NameLoad attr Dict Str Num Assign AttributeStore NameLoad attr ListLoad Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BinOpMult Str Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num NameLoad Str NameLoad NameLoad NameLoad Return TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad Call NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Assign NameStore Dict Str Str Str Str Str Num Str Str Str Str Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad Str Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults vararg body Pass decorator_list decorator_list With Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad TupleStore NameStore NameStore NameStore NameStore body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num NameLoad Str NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TupleStore NameStore NameStore NameStore body Assign NameStore ListLoad Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Assign AttributeStore NameLoad attr ListLoad Num Num Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num NameLoad keyword NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str TupleStore NameStore NameStore NameStore body Assign NameStore ListLoad Dict Str Str Num Str Dict Str Str Num Str Dict Str Str Num Str Assign AttributeStore NameLoad attr ListLoad Num Num Num Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str NameLoad keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Index Num Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad Call NameLoad Str Str keyword NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert NameLoad Str Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str With Call AttributeLoad NameLoad attr Str NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert NameLoad Str Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num keyword BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str With Call AttributeLoad NameLoad attr Str NameStore body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam NameParam defaults body Assert NameLoad Str Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Index Str keyword BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Num Str Str Str Str Str With Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str TupleStore NameStore NameStore NameStore NameStore body FunctionDef arguments args defaults vararg body Raise Call NameLoad Str keyword Num keyword Str keyword Str decorator_list Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num NameLoad Str Str NameLoad NameLoad Assert CompareIs NameLoad NameLoad Assert CompareIn Str SubscriptLoad NameLoad Index Str Assert CompareIn Str SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A copy N/A os contextlib contextmanager contextlib nested N/A mock N/A pushmanager.core.git N/A shutil N/A tempfile N/A testify T pushmanager.core db pushmanager.core.git GitCommand pushmanager.core.git GitException pushmanager.core.git GitQueue pushmanager.core.git GitTaskAction pushmanager.core.settings Settings pushmanager.testing testdb pushmanager.testing.mocksettings MockedSettings N/A pushmanager_url www.example.com CoreGitTest N/A N/A T TestCase N/A setup_db N/A N/A self N/A N/A N/A N/A self temp_git_dirs N/A N/A N/A self db_file N/A N/A testdb make_test_db N/A N/A MockedSettings N/A db_uri N/A N/A testdb get_temp_db_uri N/A self db_file N/A N/A MockedSettings N/A irc N/A nickname channel pushhamster+test pushmanagertest N/A N/A N/A N/A mock patch dict N/A db Settings MockedSettings N/A N/A N/A N/A db init_db N/A N/A T class_setup setup_fake_request_and_settings N/A N/A self N/A N/A N/A N/A self fake_request N/A id title user tags revision reviewid state repo branch comments description 1 Test Push Request Title testuser super-safe,logs N/A 0 40 9001 requested testuser super_safe_fix No comment I approve this fix! N/A N/A self fake_settings N/A scheme auth port servername main_repository dev_repositories_dir git example main_repository dev_directory N/A N/A T setup cleanup_db N/A N/A self N/A N/A N/A N/A N/A db finalize_db N/A N/A N/A os unlink N/A self db_file N/A temp_dir N/A self temp_git_dirs N/A N/A N/A N/A shutil rmtree temp_dir N/A N/A T class_teardown mocked_update_request N/A N/A self req duplicate_req N/A None N/A N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.time __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.MailQueue __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.webhook_req __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_branch_sha_from_repo __name__ return_value N/A req N/A revision N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_request __name__ return_value req N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_request_with_sha __name__ return_value duplicate_req N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch N/A req N/A id http://example.com N/A N/A N/A contextmanager test_get_repository_uri_basic N/A N/A self N/A N/A N/A N/A MockedSettings N/A git N/A self fake_settings N/A N/A N/A N/A mock patch dict Settings MockedSettings N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri main_repository git://example/main_repository N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri second_repository git://example/dev_directory/second_repository N/A test_get_repository_uri_with_auth N/A N/A self N/A N/A N/A N/A MockedSettings N/A git N/A self fake_settings N/A N/A N/A MockedSettings N/A git N/A auth myuser:mypass N/A N/A N/A N/A mock patch dict Settings MockedSettings N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri main_repository git://myuser:mypass@example/main_repository N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri second_repository git://myuser:mypass@example/dev_directory/second_repository N/A test_get_repository_uri_with_port N/A N/A self N/A N/A N/A N/A MockedSettings N/A git N/A self fake_settings N/A N/A N/A MockedSettings N/A git N/A port 0 N/A N/A N/A N/A mock patch dict Settings MockedSettings N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri main_repository git://example:0/main_repository N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue _get_repository_uri second_repository git://example:0/dev_directory/second_repository N/A test_process_queue_successful N/A N/A self N/A N/A N/A Update the request with its sha N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_failure __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_successful __name__ N/A N/A self mocked_update_request N/A self fake_request N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_count 0 N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful call_count 1 N/A result N/A None on_db_return N/A N/A success db_results N/A N/A N/A success Database error N/A N/A result N/A 0 N/A N/A db_results first N/A N/A request_info_query N/A N/A N/A N/A N/A db push_requests select where N/A N/A N/A N/A db push_requests c id N/A N/A self fake_request N/A id N/A N/A N/A db execute_cb request_info_query on_db_return N/A N/A N/A T assert_equal N/A N/A result N/A 0 N/A 5 N/A N/A self fake_request N/A revision N/A test_process_queue_req_with_str_id N/A N/A self N/A N/A N/A Update the request with its sha N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_failure __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_successful __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.time __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.MailQueue __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.webhook_req __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_branch_sha_from_repo __name__ return_value N/A N/A self fake_request N/A revision N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_request __name__ return_value N/A self fake_request N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_request_with_sha __name__ return_value N/A self fake_request N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch N/A str N/A N/A self fake_request N/A id http://example.com N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_count 0 N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful call_count 1 N/A test_process_queue_duplicate N/A N/A self N/A N/A N/A duplicate_req N/A N/A copy deepcopy N/A self fake_request N/A N/A duplicate_req N/A id 11 N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_failure __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_successful __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.logging.error __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue._get_request_with_sha __name__ return_value N/A id state 10 requested N/A N/A self mocked_update_request N/A self fake_request duplicate_req N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_count 1 N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful call_count 0 N/A N/A N/A T assert_in another request with the same revision sha N/A N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_args_list N/A 0 N/A 0 N/A 1 N/A test_update_duplicate_request_discarded N/A N/A self N/A N/A N/A duplicate_req N/A N/A copy deepcopy N/A self fake_request N/A N/A duplicate_req N/A state discarded N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_failure __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_successful __name__ N/A N/A self mocked_update_request N/A self fake_request duplicate_req N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_count 0 N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful call_count 1 N/A test_verify_branch N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A GC return_value GC N/A N/A N/A GC run return_value N/A 0 hashashash N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch 1 http://example.com N/A calls N/A N/A N/A mock call ls-remote -h git://git.example.com/devs/bmetin bmetin_fix_stuff N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_verify_branch_successful N/A N/A self N/A N/A N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.MailQueue.enqueue_user_email __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.webhook_req __name__ N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful N/A self fake_request http://example.com N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git MailQueue enqueue_user_email call_count 1 N/A N/A N/A T assert_equal N/A N/A N/A N/A pushmanager core git webhook_req call_count 3 N/A test_verify_branch_failure N/A N/A self N/A N/A N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.MailQueue.enqueue_user_email __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.webhook_req __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.logging.error __name__ N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure N/A self fake_request fake failure http://example.com N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git MailQueue enqueue_user_email call_count 1 N/A test_verify_branch_excluded_from_git_verification N/A N/A self N/A N/A N/A tag N/A N/A N/A N/A pushmanager core git GitQueue EXCLUDE_FROM_GIT_VERIFICATION N/A N/A req N/A N/A copy deepcopy N/A self fake_request N/A N/A req N/A branch None N/A N/A req N/A tags tag N/A N/A nested N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_failure __name__ N/A N/A mock patch N/A %s.pushmanager.core.git.GitQueue.verify_branch_successful __name__ N/A N/A self mocked_update_request req N/A N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_failure call_count 0 N/A N/A N/A T assert_equal N/A N/A N/A N/A N/A pushmanager core git GitQueue verify_branch_successful call_count 0 N/A test_branch_context_manager_success N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A GC return_value GC N/A N/A N/A GC run return_value N/A 0 hashashash N/A N/A N/A N/A N/A pushmanager core git git_branch_context_manager name_of_test_branch path_to_master_repo N/A N/A N/A calls N/A N/A N/A mock call checkout origin/master -b name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call checkout master cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call branch -D name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_branch_context_manager_failure N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A GC return_value GC N/A N/A N/A GC run return_value N/A 0 hashashash N/A N/A N/A N/A N/A pushmanager core git git_branch_context_manager name_of_test_branch path_to_master_repo N/A N/A N/A calls N/A N/A N/A mock call checkout origin/master -b name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call checkout master cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call branch -D name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_merge_context_manager_success N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A GC return_value GC N/A N/A N/A GC run return_value N/A 0 hashashash N/A N/A N/A N/A N/A pushmanager core git git_merge_context_manager name_of_test_branch path_to_master_repo N/A N/A N/A calls N/A N/A N/A mock call rev-parse name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call reset --hard hashashash cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_merge_context_manager_failure N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A GC return_value GC N/A N/A N/A GC run return_value N/A 0 hashashash N/A N/A N/A N/A N/A N/A N/A pushmanager core git git_merge_context_manager name_of_test_branch path_to_master_repo N/A N/A N/A N/A N/A N/A pushmanager core git GitException We tried to merge and it broke! N/A N/A N/A Exception N/A N/A N/A calls N/A N/A N/A mock call rev-parse name_of_test_branch cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A mock call reset --hard hashashash cwd path_to_master_repo N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_git_reset_to_ref N/A N/A self N/A N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A N/A N/A N/A pushmanager core git git_reset_to_ref some_ref git_dir N/A calls N/A N/A N/A N/A N/A mock call reset --hard some_ref cwd git_dir run N/A N/A N/A GC assert_has_calls calls N/A test_create_or_update_local_repo_master N/A N/A self N/A N/A N/A expected_cwd /place/to/store/on-disk/git/repos/main-repository.0 N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue create_or_update_local_repo 0 N/A N/A Settings N/A git N/A main_repository test_branch fetch True N/A calls N/A N/A N/A mock call clone git://git.example.com/main-repository expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call remote add origin git://git.example.com/main-repository cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call fetch --prune origin +refs/heads/test_branch:refs/remotes/origin/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call reset --hard HEAD cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call clean -fdfx cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call checkout origin/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet sync cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet update --init cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_create_or_update_local_repo_dev N/A N/A self N/A N/A N/A expected_cwd /place/to/store/on-disk/git/repos/main-repository.0 N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue create_or_update_local_repo 0 some_dev_name test_branch fetch True N/A calls N/A N/A N/A mock call clone git://git.example.com/main-repository /place/to/store/on-disk/git/repos/main-repository.0 N/A N/A N/A N/A mock call run N/A N/A mock call remote add some_dev_name git://git.example.com/devs/some_dev_name cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call fetch --prune some_dev_name +refs/heads/test_branch:refs/remotes/some_dev_name/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call reset --hard HEAD cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call clean -fdfx cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call checkout some_dev_name/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet sync cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet update --init cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_create_or_update_local_repo_master_integration N/A N/A self N/A N/A N/A test_settings N/A N/A copy deepcopy Settings N/A N/A N/A test_settings N/A git N/A local_repo_path N/A N/A tempfile mkdtemp prefix pushmanager N/A N/A N/A N/A self temp_git_dirs append N/A N/A test_settings N/A git N/A local_repo_path N/A N/A N/A test_settings N/A git N/A servername github.com N/A N/A N/A test_settings N/A git N/A scheme https N/A N/A N/A test_settings N/A git N/A main_repository Yelp/pushmanager/ N/A N/A N/A N/A mock patch dict Settings test_settings clear True N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue create_or_update_local_repo 0 origin master N/A test_create_or_update_local_repo_with_reference N/A N/A self N/A N/A N/A test_settings N/A N/A copy deepcopy Settings N/A N/A N/A test_settings N/A git N/A use_local_mirror True N/A N/A N/A test_settings N/A git N/A local_mirror / N/A expected_cwd /place/to/store/on-disk/git/repos/main-repository.0 N/A N/A N/A N/A mock patch dict Settings test_settings clear True N/A N/A N/A N/A mock patch pushmanager.core.git.GitCommand GC N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue create_or_update_local_repo 0 some_dev_name test_branch fetch True N/A calls N/A N/A N/A mock call clone git://git.example.com/main-repository --reference / expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call remote add some_dev_name git://git.example.com/devs/some_dev_name cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call fetch --prune some_dev_name +refs/heads/test_branch:refs/remotes/some_dev_name/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call reset --hard HEAD cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call clean -fdfx cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call checkout some_dev_name/test_branch cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet sync cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A mock call submodule --quiet update --init cwd expected_cwd N/A N/A N/A N/A mock call run N/A N/A N/A GC assert_has_calls calls N/A test_clear_pickme_conflict_details N/A N/A self N/A N/A N/A GQ N/A N/A N/A N/A pushmanager core git GitQueue N/A sample_req N/A tags conflicts asdasd,conflict-master,git-ok,conflict-pickme This conflicts with everything! N/A clean_req N/A tags conflicts asdasd,git-ok N/A N/A N/A mock patch pushmanager.core.git.GitQueue._update_request update_req N/A N/A N/A N/A GQ _clear_pickme_conflict_details sample_req N/A N/A N/A update_req assert_called_with sample_req clean_req N/A test_pickme_conflict_pickme_integration_state_pickme N/A N/A self N/A N/A N/A N/A conflict updated_request N/A N/A self _pickme_conflict_pickme_integration pickme N/A N/A N/A T assert_equal conflict True N/A N/A N/A T assert_equal N/A conflict-pickme N/A N/A N/A updated_request N/A 0 N/A 1 N/A tags True N/A N/A N/A T assert_equal N/A Welsh N/A N/A N/A updated_request N/A 0 N/A 1 N/A conflicts True N/A test_pickme_conflict_pickme_integration_state_added N/A N/A self N/A N/A N/A N/A conflict updated_request N/A N/A self _pickme_conflict_pickme_integration added N/A N/A N/A T assert_equal conflict True N/A N/A N/A T assert_equal N/A conflict-pickme N/A N/A N/A updated_request N/A 0 N/A 1 N/A tags True N/A N/A N/A T assert_equal N/A Welsh N/A N/A N/A updated_request N/A 0 N/A 1 N/A conflicts True N/A test_pickme_conflict_pickme_integration_depickmed N/A N/A self N/A N/A N/A N/A conflict _ N/A N/A self _pickme_conflict_pickme_integration accepted N/A N/A N/A T assert_equal conflict False N/A test_no_requeue_added_pickmes N/A N/A self N/A N/A N/A added_request N/A N/A copy deepcopy N/A self fake_request N/A N/A added_request N/A state added N/A N/A added_request N/A tags no-conflicts N/A pickme_request N/A N/A copy deepcopy N/A self fake_request N/A N/A pickme_request N/A state pickme N/A N/A pickme_request N/A tags no-conflicts N/A N/A nested N/A N/A mock patch pushmanager.core.git.GitQueue.create_or_update_local_repo N/A N/A mock patch pushmanager.core.git.GitQueue.git_merge_pickme N/A N/A mock patch pushmanager.core.git.git_branch_context_manager N/A N/A mock patch pushmanager.core.git.git_merge_context_manager N/A N/A mock patch pushmanager.core.git.GitQueue._get_request_ids_in_push N/A N/A mock patch pushmanager.core.git.GitQueue._get_request N/A N/A mock patch pushmanager.core.git.GitQueue.enqueue_request N/A N/A mock patch pushmanager.core.git.GitQueue._get_branch_sha_from_repo N/A N/A mock patch pushmanager.core.git.GitQueue._sha_exists_in_master N/A update_repo merge_pickme branch_mgr merge_mgr ids_in_push get_req enqueue_req get_sha sha_in_master N/A throw_gitexn N/A N/A N/A args N/A N/A N/A GitException GitException! gitret 1 giterr some_stderr_string gitout some_stdout_string N/A N/A N/A merge_mgr side_effect throw_gitexn N/A N/A ids_in_push return_value N/A 2 N/A N/A get_req return_value pickme_request N/A N/A get_sha return_code some_sha N/A N/A sha_in_master return_value False N/A N/A conflicts _ N/A N/A GitQueue _test_pickme_conflict_pickme 0 added_request some_test_branch /local/repo/path pushmanager_url True N/A N/A conflicts False N/A N/A N/A enqueue_req assert_has_calls N/A N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 2 pushmanager_url pushmanager_url requeue False N/A _pickme_conflict_pickme_integration N/A N/A self request_state N/A N/A N/A test_settings N/A N/A copy deepcopy Settings N/A repo_path N/A N/A tempfile mkdtemp prefix pushmanager N/A N/A N/A N/A self temp_git_dirs append repo_path N/A N/A N/A test_settings N/A git N/A local_repo_path repo_path N/A N/A N/A N/A GitCommand init N/A N/A test_settings N/A git N/A local_repo_path cwd repo_path run N/A N/A N/A N/A GitCommand config user.email test@pushmanager cwd repo_path run N/A N/A N/A N/A GitCommand config user.name pushmanager tester cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hello World!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand add repo_path cwd repo_path run N/A N/A N/A N/A GitCommand commit -a -m Master Commit cwd repo_path run N/A N/A N/A N/A GitCommand checkout -b change_german cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hallo Welt!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m verpflichten cwd repo_path run N/A N/A N/A N/A GitCommand checkout master cwd repo_path run N/A german_req N/A id state user tags title repo branch 1 request_state test git-ok,no-conflicts German . change_german N/A N/A N/A N/A GitCommand checkout -b change_welsh cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Helo Byd!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m ymrwymo cwd repo_path run N/A N/A N/A N/A GitCommand checkout master cwd repo_path run N/A welsh_req N/A id state user user tags title repo branch 2 request_state test test git-ok,no-conflicts Welsh . change_welsh N/A N/A N/A N/A GitCommand checkout -b test_pcp cwd repo_path run N/A N/A N/A mock patch pushmanager.core.git.GitQueue.create_or_update_local_repo update_repo N/A N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue git_merge_pickme 0 german_req repo_path N/A N/A N/A update_repo assert_called_with 0 . change_german checkout False N/A N/A nested N/A N/A mock patch pushmanager.core.git.GitQueue._get_push_for_request N/A N/A mock patch pushmanager.core.git.GitQueue._get_request_ids_in_push N/A N/A mock patch pushmanager.core.git.GitQueue._get_request N/A N/A mock patch pushmanager.core.git.GitQueue._get_branch_sha_from_repo N/A N/A mock patch pushmanager.core.git.GitQueue._sha_exists_in_master N/A N/A mock patch pushmanager.core.git.GitQueue.create_or_update_local_repo N/A N/A mock patch pushmanager.core.git.GitQueue._update_request N/A N/A N/A mock patch dict Settings test_settings clear True N/A p_for_r r_in_p get_req get_sha sha_exists _ update_req _ N/A N/A N/A p_for_r return_value N/A push 1 N/A N/A r_in_p return_value N/A 1 2 N/A N/A get_req return_value welsh_req N/A N/A get_sha return_value N/A 0 40 N/A N/A sha_exists return_value False N/A N/A update_req return_value german_req N/A N/A conflict _ N/A N/A N/A N/A N/A pushmanager core git GitQueue _test_pickme_conflict_pickme 0 german_req test_pcp repo_path pushmanager_url False N/A N/A conflict N/A update_req call_args N/A test_pickme_conflict_master_integration N/A N/A self N/A N/A N/A test_settings N/A N/A copy deepcopy Settings N/A repo_path N/A N/A tempfile mkdtemp prefix pushmanager N/A N/A N/A N/A self temp_git_dirs append repo_path N/A N/A N/A test_settings N/A git N/A local_repo_path repo_path N/A N/A N/A N/A GitCommand init N/A N/A test_settings N/A git N/A local_repo_path cwd repo_path run N/A N/A N/A N/A GitCommand config user.email test@pushmanager cwd repo_path run N/A N/A N/A N/A GitCommand config user.name pushmanager tester cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hello World!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand add repo_path cwd repo_path run N/A N/A N/A N/A GitCommand commit -a -m Master Commit cwd repo_path run N/A N/A N/A N/A GitCommand checkout -b change_german cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hallo Welt!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m verpflichten cwd repo_path run N/A german_req N/A id tags title repo branch 1 git-ok German . change_german N/A N/A N/A N/A GitCommand checkout master cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Helo Byd!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m ymrwymo cwd repo_path run NoRemoteBranchContextManager N/A object N/A __init__ N/A N/A self branch path N/A N/A N/A N/A self branch branch N/A N/A self path path N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A N/A GitCommand checkout -b N/A self branch cwd N/A self path run N/A __exit__ N/A N/A self N/A args N/A N/A N/A N/A N/A N/A nested N/A N/A mock patch pushmanager.core.git.GitQueue._update_request N/A N/A mock patch pushmanager.core.git.git_branch_context_manager NoRemoteBranchContextManager N/A N/A mock patch pushmanager.core.git.GitQueue.create_or_update_local_repo N/A N/A N/A mock patch dict Settings test_settings clear True N/A update_req _ _ _ N/A N/A N/A conflict _ N/A N/A N/A N/A N/A pushmanager core git GitQueue _test_pickme_conflict_master 0 german_req test_pcm repo_path pushmanager_url False N/A N/A N/A T assert_equal conflict True N/A updated_request N/A update_req call_args N/A N/A N/A T assert_equal N/A conflict-master N/A N/A N/A updated_request N/A 0 N/A 1 N/A tags True N/A N/A N/A T assert_equal N/A master N/A N/A N/A updated_request N/A 0 N/A 1 N/A conflicts True N/A test_requeue_pickmes_with_conflicts N/A N/A self N/A N/A N/A N/A nested N/A N/A N/A mock patch object GitQueue _get_request_ids_in_push N/A N/A N/A mock patch object GitQueue _get_request N/A N/A N/A mock patch object GitQueue enqueue_request N/A ids_in_push get_req enqueue_req N/A N/A reqs N/A N/A id tags 1 git-ok,conflict-pickme N/A id tags 2 git-ok,conflict-master N/A id tags 3 git-ok,feature N/A N/A ids_in_push return_value N/A 0 1 2 N/A N/A get_req return_value N/A reqs N/A 0 update_get_req N/A N/A i N/A N/A N/A N/A reqs N/A i N/A N/A N/A get_req side_effect update_get_req N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue requeue_pickmes_for_push 1 pushmanager_url conflicting_only True N/A calls N/A N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 1 pushmanager_url pushmanager_url requeue False N/A N/A N/A enqueue_req assert_has_calls calls N/A test_requeue_all_pickmes N/A N/A self N/A N/A N/A N/A nested N/A N/A N/A mock patch object GitQueue _get_request_ids_in_push N/A N/A N/A mock patch object GitQueue _get_request N/A N/A N/A mock patch object GitQueue enqueue_request N/A ids_in_push get_req enqueue_req N/A N/A reqs N/A N/A id tags 1 git-ok,conflict-pickme N/A id tags 2 git-ok,conflict-master N/A id tags 3 git-ok,feature N/A N/A ids_in_push return_value N/A 0 1 2 N/A N/A get_req return_value N/A reqs N/A 0 update_get_req N/A N/A i N/A N/A N/A N/A reqs N/A i N/A N/A N/A get_req side_effect update_get_req N/A N/A N/A N/A N/A N/A pushmanager core git GitQueue requeue_pickmes_for_push 1 pushmanager_url N/A calls N/A N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 1 pushmanager_url pushmanager_url requeue False N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 2 pushmanager_url pushmanager_url requeue False N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 3 pushmanager_url pushmanager_url requeue False N/A N/A N/A enqueue_req assert_has_calls calls N/A test_stale_module_check N/A N/A self N/A N/A N/A test_settings N/A N/A copy deepcopy Settings N/A repo_path N/A N/A tempfile mkdtemp prefix pushmanager N/A submodule_path N/A N/A tempfile mkdtemp prefix pushmanager N/A N/A N/A N/A self temp_git_dirs append repo_path N/A N/A N/A N/A self temp_git_dirs append submodule_path N/A N/A N/A test_settings N/A git N/A local_repo_path repo_path N/A N/A N/A N/A GitCommand init repo_path cwd repo_path run N/A N/A N/A N/A GitCommand config user.email test@pushmanager cwd repo_path run N/A N/A N/A N/A GitCommand config user.name pushmanager tester cwd repo_path run N/A N/A open N/A N/A N/A os path join repo_path code.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hello World!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand add repo_path cwd repo_path run N/A N/A N/A N/A GitCommand commit -a -m Master Commit cwd repo_path run N/A N/A N/A N/A GitCommand init submodule_path cwd submodule_path run N/A N/A N/A N/A GitCommand config user.email test@pushmanager cwd submodule_path run N/A N/A N/A N/A GitCommand config user.name pushmanager tester cwd submodule_path run N/A N/A open N/A N/A N/A os path join submodule_path codemodule.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hello World!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand add submodule_path cwd submodule_path run N/A N/A N/A N/A GitCommand commit -a -m Master Commit cwd submodule_path run N/A N/A N/A N/A GitCommand checkout -b change_german cwd submodule_path run N/A N/A open N/A N/A N/A os path join submodule_path codemodule.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Hallo Welt!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m verpflichten cwd submodule_path run N/A N/A N/A N/A GitCommand checkout master cwd submodule_path run N/A N/A N/A N/A GitCommand checkout -b change_welsh cwd submodule_path run N/A N/A open N/A N/A N/A os path join submodule_path codemodule.py w f N/A N/A N/A N/A f write #!/usr/bin/env python

print("Helo Byd!")
Print("Goodbye!")
 N/A N/A N/A N/A GitCommand commit -a -m ymrwymo cwd submodule_path run N/A N/A N/A N/A GitCommand checkout master cwd submodule_path run N/A N/A N/A N/A GitCommand submodule add submodule_path cwd repo_path run N/A N/A N/A N/A GitCommand commit -a -m Add submodule cwd repo_path run N/A internal_submodule_path N/A N/A N/A os path join repo_path N/A N/A N/A N/A submodule_path split / N/A -1 N/A 0 N/A N/A N/A N/A GitCommand checkout -b change_german cwd repo_path run N/A N/A N/A N/A GitCommand checkout change_german cwd internal_submodule_path run N/A N/A N/A N/A GitCommand commit -a -m verpflichten cwd repo_path run N/A N/A N/A N/A GitCommand checkout master cwd repo_path run N/A N/A N/A N/A GitCommand checkout -b change_welsh cwd repo_path run N/A N/A N/A N/A GitCommand commit -a -m ymrwymo cwd repo_path run N/A N/A N/A N/A GitCommand checkout change_welsh cwd internal_submodule_path run N/A N/A N/A N/A GitCommand checkout master cwd repo_path run N/A N/A N/A T assert_raises GitException N/A N/A N/A pushmanager core git _stale_submodule_check repo_path N/A test_update_req_sha_and_queue_pickme_requested N/A N/A self N/A N/A N/A new_sha N/A 1 40 N/A request N/A N/A copy deepcopy N/A self fake_request N/A N/A request N/A state requested N/A N/A N/A mock patch pushmanager.core.git.GitQueue.enqueue_request enqueue_req N/A N/A N/A N/A GitQueue _update_req_sha_and_queue_pickme request new_sha N/A result N/A None on_db_return N/A N/A success db_results N/A N/A N/A success Database error N/A N/A result N/A 0 N/A N/A db_results first N/A N/A request_info_query N/A N/A N/A N/A N/A db push_requests select where N/A N/A N/A N/A db push_requests c id N/A N/A self fake_request N/A id N/A N/A N/A db execute_cb request_info_query on_db_return N/A N/A N/A T assert_equals N/A enqueue_req call_count 1 N/A N/A N/A T assert_equal N/A N/A result N/A 0 N/A 5 new_sha N/A test_update_req_sha_and_queue_pickme_pickme_test_pickme_conflict N/A N/A self N/A N/A N/A new_sha N/A 1 40 N/A pickme_request N/A N/A copy deepcopy N/A self fake_request N/A N/A pickme_request N/A state pickme N/A N/A pickme_request N/A tags no-conflicts N/A N/A N/A mock patch pushmanager.core.git.GitQueue.enqueue_request enqueue_req N/A N/A N/A N/A N/A mock patch dict Settings MockedSettings N/A N/A N/A N/A GitQueue _update_req_sha_and_queue_pickme pickme_request new_sha N/A result N/A None on_db_return N/A N/A success db_results N/A N/A N/A success Database error N/A N/A result N/A 0 N/A N/A db_results first N/A N/A request_info_query N/A N/A N/A N/A N/A db push_requests select where N/A N/A N/A N/A db push_requests c id N/A N/A self fake_request N/A id N/A N/A N/A db execute_cb request_info_query on_db_return N/A N/A N/A T assert_equal N/A N/A result N/A 0 N/A 5 new_sha N/A N/A N/A T assert_equals N/A enqueue_req call_count 2 N/A N/A N/A enqueue_req assert_has_calls N/A N/A N/A mock call N/A GitTaskAction TEST_PICKME_CONFLICT 1 pushmanager_url N/A https://%s:%s N/A N/A N/A MockedSettings N/A main_app N/A servername N/A N/A MockedSettings N/A main_app N/A port N/A test_update_req_sha_and_queue_pickme_added_test_conflicting_pickmes N/A N/A self N/A N/A N/A new_sha N/A 1 40 N/A pickme_request N/A N/A copy deepcopy N/A self fake_request N/A N/A pickme_request N/A state added N/A N/A pickme_request N/A tags conflict-pickme N/A N/A N/A mock patch pushmanager.core.git.GitQueue.enqueue_request enqueue_req N/A N/A N/A N/A N/A mock patch dict Settings MockedSettings N/A N/A N/A N/A GitQueue _update_req_sha_and_queue_pickme pickme_request new_sha N/A result N/A None on_db_return N/A N/A success db_results N/A N/A N/A success Database error N/A N/A result N/A 0 N/A N/A db_results first N/A N/A request_info_query N/A N/A N/A N/A N/A db push_requests select where N/A N/A N/A N/A db push_requests c id N/A N/A self fake_request N/A id N/A N/A N/A db execute_cb request_info_query on_db_return N/A N/A N/A T assert_equal N/A N/A result N/A 0 N/A 5 new_sha N/A N/A N/A T assert_equals N/A enqueue_req call_count 2 N/A N/A N/A enqueue_req assert_has_calls N/A N/A N/A mock call N/A GitTaskAction TEST_CONFLICTING_PICKMES N/A N/A N/A GitQueue _get_push_for_request N/A pickme_request N/A id N/A push pushmanager_url N/A https://%s:%s N/A N/A N/A MockedSettings N/A main_app N/A servername N/A N/A MockedSettings N/A main_app N/A port N/A test_stderr_and_stdout_in_conflict_text N/A N/A self N/A N/A N/A welsh_req N/A id user tags title repo branch 2 test git-ok Welsh . change_welsh N/A N/A nested N/A N/A mock patch pushmanager.core.git.GitQueue.create_or_update_local_repo N/A N/A mock patch pushmanager.core.git.GitQueue.git_merge_pickme N/A N/A mock patch pushmanager.core.git.git_branch_context_manager N/A N/A mock patch pushmanager.core.git.git_merge_context_manager N/A update_repo merge_pickme branch_mgr merge_mgr N/A throw_gitexn N/A N/A N/A args N/A N/A N/A GitException GitException! gitret 1 giterr some_stderr_string gitout some_stdout_string N/A N/A N/A merge_mgr side_effect throw_gitexn N/A N/A conflict details N/A N/A GitQueue _test_pickme_conflict_master 0 welsh_req testing_pickme_branch /local/repo/path/ pushmanager_url False N/A N/A conflict True N/A N/A some_stderr_string N/A details N/A conflicts N/A N/A some_stdout_string N/A details N/A conflicts N/A N/A