Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While CompareNotEq NameLoad Str body If Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ImportFrom alias ImportFrom alias ImportFrom alias alias identifier alias alias Expr Call NameLoad ImportFrom alias FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list FunctionDef arguments args NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call NameLoad Str FunctionDef arguments args defaults body Return Call NameLoad NameLoad decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad Str Call NameLoad Call NameLoad UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Return Call NameLoad decorator_list ClassDef bases NameLoad body If NameLoad body Assign NameStore ListLoad NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad Call NameLoad keyword NameLoad keyword NameLoad attr decorator_list Call NameLoad NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign SubscriptStore NameLoad Index NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore NameLoad TryExcept body Expr SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Str Assign SubscriptStore NameLoad Index NameLoad Str Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad FunctionDef arguments args defaults body Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Pass Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TryExcept body Expr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Pass Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args NameParam defaults NameLoad body Assign AttributeStore NameLoad attr ListLoad Call NameLoad Call NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Raise Call NameLoad Num NameLoad decorator_list Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Call NameLoad NameLoad BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad decorator_list Call NameLoad Str Call NameLoad keyword NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad keyword Call AttributeLoad Call NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad Assign AttributeStore NameLoad attr ListComp Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore ListLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str body Return Call NameLoad orelse Return Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr decorator_list Assign AttributeStore NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad keyword Call AttributeLoad Call NameLoad attr NameLoad decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call NameLoad Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str ListLoad Str Str ListLoad Str ListLoad ListLoad ListLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad While CompareIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd NameStore Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str decorator_list Call NameLoad Str Call NameLoad Call NameLoad BinOpMod Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Str keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad If UnaryOpNot AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str Assign NameStore Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Str Call NameLoad comprehension NameStore Call AttributeLoad Call NameLoad attr Str For NameStore Call AttributeLoad Call NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad Call AttributeLoad NameLoad attr attr Str attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Str Assign NameStore Call NameLoad ListComp TupleLoad Call AttributeLoad NameLoad attr Str ListLoad comprehension NameStore Call AttributeLoad Call NameLoad attr Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad Call NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Str ListLoad Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad Call NameLoad attr Str body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr Str attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Str TryExcept body Expr Call AttributeLoad SubscriptLoad NameLoad Index Call AttributeLoad Call AttributeLoad NameLoad attr attr Str attr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign SubscriptStore NameLoad Index Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr BoolOpOr NameLoad Call AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad For NameStore BinOpAdd Call AttributeLoad Call NameLoad attr Str Call AttributeLoad Call NameLoad attr Str body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Str NameLoad decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Str NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Str TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Str decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Str NameLoad TupleLoad BinOpSub Call AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad keyword NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr TupleLoad Str ListLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Num Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Str ListLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Num Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr TupleLoad Str Num Expr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Call NameLoad Call NameLoad Call NameLoad ListLoad Str Call NameLoad keyword Str NameLoad Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Call NameLoad ListLoad Str Str Call NameLoad Call NameLoad ListLoad Str Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Call NameLoad Call NameLoad ListLoad Str Call NameLoad ListLoad Str Call NameLoad keyword Str Str Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad ListLoad Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Str Str Str Call NameLoad Call NameLoad Call NameLoad ListLoad Str Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Str Str Call NameLoad ListLoad Str Str Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad Str NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad ListLoad Str keyword Call NameLoad keyword Str TupleLoad Call NameLoad ListLoad Str Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad ListLoad Str Str Str keyword Call NameLoad keyword Str TupleLoad Call NameLoad ListLoad Str Str Str Str Call NameLoad keyword Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call NameLoad ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore Call AttributeLoad Call NameLoad attr Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str For NameStore Call NameLoad Num Num body Assign NameStore BinOpMod NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword ListLoad ListLoad TupleLoad Str Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Str Assign NameStore Call NameLoad keyword ListLoad ListLoad TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword ListLoad ListLoad TupleLoad Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad For NameStore Call AttributeLoad Call NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad While CompareIn NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str NameLoad decorator_list Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad For NameStore Call AttributeLoad Call NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Call NameLoad ListLoad Str Str Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Call NameLoad ListLoad Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Str Str Str Call NameLoad Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Call NameLoad ListLoad Str Str Str Call NameLoad ListLoad Str Str Call NameLoad Call NameLoad Call NameLoad keyword Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TupleLoad Str NameLoad decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad keyword ListLoad ListLoad TupleLoad Str Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str NameLoad Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword ListLoad ListLoad TupleLoad Str Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Str Str decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Str NameLoad TupleLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad Str NameLoad TupleLoad BinOpSub Call AttributeLoad NameLoad attr Num Str Assign AttributeStore NameLoad attr TupleLoad Str ListLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad keyword NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr TupleLoad Str ListLoad ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str Num AttributeLoad NameLoad attr decorator_list Call NameLoad Str Call NameLoad Call NameLoad Str FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad FunctionDef arguments args defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call NameLoad UnaryOpNot Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call NameLoad Expr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A os N/A sys N/A copy N/A time N/A socket N/A lxml.etree N/A Bcfg2.Server N/A Bcfg2.Server.Plugin mock Mock MagicMock patch N/A path N/A N/A N/A os path dirname __file__ N/A N/A path / N/A N/A N/A N/A N/A N/A N/A N/A N/A os path basename path lower startswith test N/A N/A N/A N/A N/A sys path append path N/A N/A N/A N/A N/A os path basename path testsuite N/A N/A N/A path N/A N/A N/A os path dirname path common * Bcfg2.Server.Plugins.Metadata load_django_models TestPlugin TestXMLFileBacked TestMetadata _TestMetadata TestClientRunHooks TestDatabaseBacked N/A N/A load_django_models Bcfg2.Server.Plugins.Metadata * get_clients_test_tree N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A lxml etree XML 
<Clients>
  <Client name="client1" address="1.2.3.1" auth="cert"
          location="floating" password="password2" profile="group1"/>
  <Client name="client2" address="1.2.3.2" secure="true" profile="group2"/>
  <Client name="client3" address="1.2.3.3" uuid="uuid1" profile="group1"
          password="password2">
    <Alias name="alias1"/>
  </Client>
  <Client name="client4" profile="group1">
    <Alias name="alias2" address="1.2.3.2"/>
    <Alias name="alias3"/>
  </Client>
  <Client name="client5" profile="group1"/>
  <Client name="client6" profile="group1" auth="bootstrap"/>
  <Client name="client7" profile="group1" auth="cert" address="1.2.3.4"/>
  <Client name="client8" profile="group1" auth="cert+password"
          address="1.2.3.5"/>
  <Client name="client9" profile="group2" secure="true" password="password3"/>
  <Client name="client10" profile="group1" floating="true"/>
</Clients> getroottree N/A get_groups_test_tree N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A lxml etree XML 
<Groups xmlns:xi="http://www.w3.org/2001/XInclude">
  <Client name="client8">
    <Group name="group8"/>
  </Client>
  <Client name="client9">
    <Group name="group8"/>
  </Client>

  <Group name="group1" default="true" profile="true" public="true"
         category="category1"/>
  <Group name="group2" profile="true" public="true" category="category1">
    <Bundle name="bundle1"/>
    <Bundle name="bundle2"/>
    <Group name="group1"/>
    <Group name="group4"/>
  </Group>
  <Group name="group3" category="category2" public="false"/>
  <Group name="group4" category="category1">
    <Group name="group1"/>
    <Group name="group6"/>
  </Group>
  <Group name="group5"/>
  <Group name="group7">
    <Bundle name="bundle3"/>
  </Group>
  <Group name="group8">
    <Group name="group9"/>
    <Client name="client9">
      <Group name="group11"/>
      <Group name="group9" negate="true"/>
    </Client>
    <Group name="group1">
      <Group name="group10"/>
    </Group>
  </Group>
  <Group name="group12" category="category3" public="false"/>
</Groups> getroottree N/A get_metadata_object N/A N/A core N/A None N/A N/A N/A core None N/A N/A core N/A Mock N/A N/A core metadata_cache N/A MagicMock N/A N/A set_setup_default password inner N/A N/A N/A N/A N/A N/A Metadata core N/A N/A patchIf N/A N/A isinstance N/A os makedirs Mock os.makedirs N/A Mock N/A patchIf N/A N/A isinstance N/A N/A lxml etree Element Mock lxml.etree.Element N/A Mock N/A N/A inner N/A TestMetadataDB N/A DBModelTestCase N/A N/A HAS_DJANGO N/A N/A models N/A MetadataClientModel N/A TestClientVersions N/A TestDatabaseBacked N/A N/A test_clients N/A dict client1 1.2.0 client2 1.2.2 client3 1.3.0pre1 client4 1.1.0 client5 None client6 None setUp N/A N/A self N/A N/A N/A N/A N/A TestDatabaseBacked setUp self N/A N/A self test_obj ClientVersions N/A N/A syncdb TestMetadataDB N/A N/A client version N/A N/A N/A self test_clients items N/A N/A N/A N/A N/A MetadataClientModel hostname client version version save N/A N/A skipUnless HAS_DJANGO Django not found test__contains N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A N/A self assertIn client1 v N/A N/A N/A self assertIn client5 v N/A N/A N/A self assertNotIn client__contains v N/A test_keys N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A N/A self assertItemsEqual N/A N/A N/A self test_clients keys N/A N/A v keys N/A test__setitem N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A v N/A client1 1.2.3 N/A N/A N/A self assertIn client1 v N/A N/A N/A self assertEqual N/A v N/A client1 1.2.3 N/A client N/A N/A N/A MetadataClientModel objects get hostname client1 N/A N/A N/A self assertEqual N/A client version 1.2.3 N/A new client__setitem N/A N/A v N/A new 1.3.0 N/A N/A N/A self assertIn new v N/A N/A N/A self assertEqual N/A v N/A new 1.3.0 N/A client N/A N/A N/A MetadataClientModel objects get hostname new N/A N/A N/A self assertEqual N/A client version 1.3.0 N/A new2 client__setitem_2 N/A N/A v N/A new2 None N/A N/A N/A self assertIn new2 v N/A N/A N/A self assertEqual N/A v N/A new2 None N/A client N/A N/A N/A MetadataClientModel objects get hostname new2 N/A N/A N/A self assertEqual N/A client version None N/A test__getitem N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A N/A self assertEqual N/A v N/A client2 1.2.2 N/A N/A N/A self assertIsNone N/A v N/A client5 N/A expected KeyError N/A N/A N/A N/A v N/A clients__getitem N/A N/A N/A expected N/A N/A N/A N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertFalse True N/A %s raised instead of %s N/A N/A N/A err __class__ __name__ N/A N/A expected __class__ __name__ N/A N/A N/A N/A self assertFalse True N/A %s not raised N/A N/A expected __class__ __name__ N/A test__len N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A N/A self assertEqual N/A len v N/A N/A N/A MetadataClientModel objects count N/A test__iter N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A N/A N/A self assertItemsEqual N/A h N/A h N/A iter v N/A N/A v keys N/A test__delitem N/A N/A self N/A N/A N/A v N/A N/A self get_obj N/A new client__delitem N/A N/A v N/A new 1.3.0 N/A N/A v N/A new N/A N/A N/A self assertIn new v N/A N/A N/A self assertIsNone N/A v N/A new N/A N/A TestXMLMetadataConfig N/A TestXMLFileBacked N/A N/A test_obj XMLMetadataConfig N/A path N/A N/A N/A os path join datastore Metadata clients.xml get_obj N/A N/A self basefile core N/A clients.xml None N/A N/A N/A self metadata N/A get_metadata_object core core inner N/A N/A N/A N/A N/A N/A XMLMetadataConfig N/A self metadata basefile N/A N/A patchIf N/A N/A isinstance N/A N/A lxml etree Element Mock lxml.etree.Element N/A Mock N/A N/A inner N/A test__init N/A N/A self N/A N/A N/A xmc N/A N/A self get_obj N/A N/A N/A self assertNotIn N/A call N/A xmc basefile N/A N/A N/A xmc fam AddMonitor call_args_list N/A N/A patch Bcfg2.Server.FileMonitor.get_fam N/A Mock test_xdata N/A N/A self N/A N/A N/A config N/A N/A self get_obj N/A expected N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A N/A N/A N/A config xdata N/A N/A N/A expected N/A N/A N/A N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertFalse True N/A %s raised instead of %s N/A N/A N/A err __class__ __name__ N/A N/A expected __class__ __name__ N/A N/A N/A N/A self assertFalse True N/A %s not raised N/A N/A expected __class__ __name__ N/A N/A N/A config data <test/> N/A N/A N/A self assertEqual N/A config xdata <test/> N/A test_base_xdata N/A N/A self N/A N/A N/A config N/A N/A self get_obj N/A expected N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A N/A N/A N/A config base_xdata N/A N/A N/A expected N/A N/A N/A N/A N/A err N/A N/A N/A sys exc_info N/A 1 N/A N/A N/A self assertFalse True N/A %s raised instead of %s N/A N/A N/A err __class__ __name__ N/A N/A expected __class__ __name__ N/A N/A N/A N/A self assertFalse True N/A %s not raised N/A N/A expected __class__ __name__ N/A N/A N/A config basedata <test/> N/A N/A N/A self assertEqual N/A config base_xdata <test/> N/A test_add_monitor N/A N/A self N/A N/A N/A config N/A N/A self get_obj N/A N/A config fam N/A Mock N/A fname test.xml N/A fpath N/A N/A N/A os path join N/A N/A self metadata data fname N/A N/A config extras N/A N/A N/A N/A config add_monitor fpath N/A N/A N/A N/A N/A config fam AddMonitor assert_called_with fpath N/A config metadata N/A N/A N/A self assertItemsEqual N/A config extras N/A fpath N/A test_Index N/A N/A self N/A N/A N/A N/A test_load_xml N/A N/A self mock_follow mock_parse N/A N/A N/A config N/A N/A self get_obj clients.xml reset N/A N/A N/A N/A N/A N/A N/A mock_parse reset_mock N/A N/A N/A mock_follow reset_mock N/A N/A config data None N/A N/A config basedata None N/A N/A N/A reset N/A N/A N/A config load_xml N/A N/A N/A mock_follow assert_called_with xdata N/A mock_parse return_value N/A N/A N/A mock_parse assert_called_with N/A N/A N/A os path join N/A config basedir clients.xml parser N/A N/A Bcfg2 Server XMLParser N/A N/A N/A self assertFalse N/A N/A N/A mock_parse return_value xinclude called N/A N/A N/A self assertEqual N/A config data N/A mock_parse return_value N/A N/A N/A self assertIsNotNone N/A config basedata N/A N/A reset N/A N/A mock_parse side_effect N/A N/A N/A lxml etree XMLSyntaxError None None None None N/A N/A N/A config load_xml N/A N/A N/A mock_parse assert_called_with N/A N/A N/A os path join N/A config basedir clients.xml parser N/A N/A Bcfg2 Server XMLParser N/A N/A N/A self assertIsNone N/A config data N/A N/A N/A self assertIsNone N/A config basedata N/A N/A reset N/A N/A mock_parse side_effect None follow_xincludes N/A N/A xdata N/A None N/A N/A N/A config extras N/A N/A Mock N/A Mock N/A N/A N/A mock_follow side_effect follow_xincludes N/A N/A N/A config load_xml N/A N/A N/A mock_follow assert_called_with xdata N/A mock_parse return_value N/A N/A N/A mock_parse assert_called_with N/A N/A N/A os path join N/A config basedir clients.xml parser N/A N/A Bcfg2 Server XMLParser N/A N/A N/A N/A N/A mock_parse return_value xinclude assert_any_call N/A N/A N/A self assertEqual N/A config data N/A mock_parse return_value N/A N/A N/A self assertIsNotNone N/A config basedata N/A N/A patch lxml.etree.parse N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig._follow_xincludes test_write N/A N/A self mock_write_xml N/A N/A N/A config N/A N/A self get_obj clients.xml N/A N/A config basedata <test/> N/A N/A N/A config write N/A N/A N/A mock_write_xml assert_called_with N/A N/A N/A os path join N/A N/A self metadata data clients.xml <test/> N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.write_xml test_write_xml N/A N/A self mock_readlink mock_islink mock_rename mock_unlink mock_fdopen mock_open mock_load_xml N/A N/A N/A fname clients.xml N/A config N/A N/A self get_obj fname N/A fpath N/A N/A N/A os path join N/A N/A self metadata data fname N/A tmpfile N/A %s.new fpath N/A linkdest N/A N/A N/A os path join N/A N/A self metadata data client-link.xml reset N/A N/A N/A N/A N/A N/A N/A mock_readlink reset_mock N/A N/A N/A mock_islink reset_mock N/A N/A N/A mock_rename reset_mock N/A N/A N/A mock_unlink reset_mock N/A N/A N/A mock_fdopen reset_mock N/A N/A N/A mock_open reset_mock N/A N/A N/A mock_load_xml reset_mock N/A N/A N/A mock_islink return_value False N/A N/A N/A config write_xml fpath N/A get_clients_test_tree N/A N/A N/A mock_open assert_called_with tmpfile N/A N/A N/A os O_CREAT N/A os O_EXCL N/A os O_WRONLY N/A N/A N/A mock_fdopen assert_called_with N/A mock_open return_value w N/A N/A N/A self assertTrue N/A N/A N/A mock_fdopen return_value write called N/A N/A N/A mock_islink assert_called_with fpath N/A N/A N/A mock_rename assert_called_with tmpfile fpath N/A N/A N/A mock_load_xml assert_called_with rv N/A N/A fname mode N/A N/A N/A N/A mock_open side_effect None N/A N/A OSError 17 fname N/A N/A N/A reset N/A N/A mock_open side_effect rv N/A N/A N/A config write_xml fpath N/A get_clients_test_tree N/A N/A N/A self assertItemsEqual N/A mock_open call_args_list N/A N/A call tmpfile N/A N/A N/A os O_CREAT N/A os O_EXCL N/A os O_WRONLY N/A call tmpfile N/A N/A N/A os O_CREAT N/A os O_EXCL N/A os O_WRONLY N/A N/A N/A mock_fdopen assert_called_with N/A mock_open return_value w N/A N/A N/A self assertTrue N/A N/A N/A mock_fdopen return_value write called N/A N/A N/A mock_islink assert_called_with fpath N/A N/A N/A mock_rename assert_called_with tmpfile fpath N/A N/A N/A mock_load_xml assert_called_with N/A N/A reset N/A N/A mock_open side_effect None N/A N/A mock_islink return_value True N/A N/A mock_readlink return_value linkdest N/A N/A N/A config write_xml fpath N/A get_clients_test_tree N/A N/A N/A mock_rename assert_called_with tmpfile linkdest N/A N/A N/A mock_load_xml assert_called_with N/A N/A reset N/A N/A mock_rename side_effect OSError N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A config write_xml fpath N/A get_clients_test_tree N/A N/A N/A mock_unlink assert_called_with tmpfile N/A N/A reset N/A N/A N/A N/A mock_open return_value write side_effect IOError N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A config write_xml fpath N/A get_clients_test_tree N/A N/A N/A mock_unlink assert_called_with tmpfile N/A N/A reset N/A N/A mock_open side_effect OSError N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A config write_xml fpath N/A get_clients_test_tree N/A N/A reset N/A N/A mock_fdopen side_effect OSError N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A config write_xml fpath N/A get_clients_test_tree N/A N/A patch Bcfg2.Utils.locked N/A Mock return_value False N/A patch fcntl.lockf N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A patch os.open N/A patch os.fdopen N/A patch os.unlink N/A patch os.rename N/A patch os.path.islink N/A patch os.readlink test_find_xml_for_xpath N/A N/A self mock_parse N/A N/A N/A config N/A N/A self get_obj groups.xml N/A N/A config basedata N/A get_groups_test_tree N/A xpath //Group[@name='group1'] N/A N/A N/A self assertItemsEqual N/A N/A config find_xml_for_xpath xpath N/A dict filename N/A N/A N/A os path join N/A N/A self metadata data groups.xml xmltree N/A get_groups_test_tree xquery N/A N/A N/A get_groups_test_tree xpath xpath N/A N/A N/A self assertEqual N/A N/A config find_xml_for_xpath //boguselement N/A dict N/A N/A config extras N/A N/A N/A N/A os path join N/A N/A self metadata data p N/A p N/A foo.xml bar.xml clients.xml parse_side_effect N/A N/A fname parser N/A N/A N/A Bcfg2 Server XMLParser N/A N/A N/A fname N/A N/A N/A os path join N/A N/A self metadata data clients.xml N/A N/A N/A get_clients_test_tree N/A N/A N/A N/A N/A N/A N/A lxml etree XML <null/> getroottree N/A N/A N/A mock_parse side_effect parse_side_effect N/A xpath //Client[@secure='true'] N/A N/A N/A self assertItemsEqual N/A N/A config find_xml_for_xpath xpath N/A dict filename N/A N/A N/A os path join N/A N/A self metadata data clients.xml xmltree N/A get_clients_test_tree xquery N/A N/A N/A get_clients_test_tree xpath xpath N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch lxml.etree.parse test_HandleEvent N/A N/A self mock_load_xml N/A N/A N/A config N/A N/A self get_obj groups.xml N/A evt N/A Mock N/A N/A evt filename N/A N/A N/A os path join N/A N/A self metadata data groups.xml N/A N/A evt code2str N/A Mock return_value changed N/A N/A N/A self assertTrue N/A N/A config HandleEvent evt N/A N/A N/A mock_load_xml assert_called_with N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A TestClientMetadata N/A Bcfg2TestCase N/A test_inGroup N/A N/A self N/A N/A N/A cm N/A ClientMetadata client1 group1 N/A group1 group2 N/A bundle1 N/A N/A N/A None None None None N/A N/A N/A self assertTrue N/A N/A cm inGroup group1 N/A N/A N/A self assertFalse N/A N/A cm inGroup group3 N/A N/A TestMetadata N/A _TestMetadata TestClientRunHooks TestDatabaseBacked N/A N/A test_obj Metadata setUp N/A N/A self N/A N/A N/A N/A N/A _TestMetadata setUp self N/A N/A N/A TestClientRunHooks setUp self N/A N/A N/A TestDatabaseBacked setUp self N/A N/A N/A N/A Bcfg2 Options setup metadata_db False N/A N/A N/A N/A Bcfg2 Options setup authentication cert+password N/A get_obj N/A N/A self core N/A None N/A N/A N/A get_metadata_object core core N/A test__use_db N/A N/A self N/A N/A N/A N/A N/A skipUnless HAS_DJANGO Django not found get_nonexistent_client N/A N/A self metadata prefix N/A newclient N/A N/A N/A metadata None N/A N/A metadata N/A N/A self load_clients_data N/A i 0 N/A client_name N/A %s%s N/A prefix i N/A N/A client_name N/A metadata clients N/A N/A i 1 N/A client_name N/A %s%s N/A prefix i N/A client_name N/A test__init N/A N/A self mock_get_fam N/A N/A N/A core N/A MagicMock N/A metadata N/A N/A self get_obj core core N/A N/A N/A self assertEqual N/A len N/A metadata states 2 N/A N/A N/A N/A N/A mock_get_fam return_value AddMonitor assert_any_call N/A N/A N/A os path join N/A metadata data groups.xml metadata N/A N/A N/A N/A N/A mock_get_fam return_value AddMonitor assert_any_call N/A N/A N/A os path join N/A metadata data clients.xml metadata N/A N/A patch Bcfg2.Server.FileMonitor.get_fam test_init_repo N/A N/A self mock_open N/A N/A N/A N/A N/A Metadata init_repo datastore groups_xml groups clients_xml clients N/A N/A N/A mock_open assert_any_call N/A N/A N/A os path join datastore Metadata groups.xml w N/A N/A N/A mock_open assert_any_call N/A N/A N/A os path join datastore Metadata clients.xml w N/A N/A patch os.makedirs N/A Mock N/A patch N/A %s.open builtins test_search_xdata N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A tree N/A get_groups_test_tree N/A res N/A N/A metadata _search_xdata Group group1 tree N/A N/A N/A self assertIsInstance res N/A N/A lxml etree _Element N/A N/A N/A self assertEqual N/A N/A res get name group1 N/A metadata N/A N/A self get_obj N/A tree N/A get_clients_test_tree N/A res N/A N/A metadata _search_xdata Client alias3 tree alias True N/A N/A N/A self assertIsInstance res N/A N/A lxml etree _Element N/A N/A N/A self assertNotEqual N/A N/A res get name alias3 N/A metadata N/A N/A self get_obj N/A tree N/A get_clients_test_tree N/A res N/A N/A metadata _search_xdata Client N/A N/A self get_nonexistent_client metadata tree alias True N/A N/A N/A self assertIsNone res N/A search_xdata N/A N/A self tag name tree alias N/A False N/A N/A metadata N/A N/A self get_obj N/A res N/A N/A metadata _search_xdata tag name tree alias alias N/A N/A N/A self assertIsInstance res N/A N/A lxml etree _Element N/A N/A alias N/A N/A N/A N/A self assertEqual N/A N/A res get name name N/A test_search_group N/A N/A self N/A N/A N/A tree N/A get_groups_test_tree N/A N/A N/A self search_xdata Group group1 tree N/A test_search_bundle N/A N/A self N/A N/A N/A tree N/A get_groups_test_tree N/A N/A N/A self search_xdata Bundle bundle1 tree N/A test_search_client N/A N/A self N/A N/A N/A tree N/A get_clients_test_tree N/A N/A N/A self search_xdata Client client1 tree alias True N/A N/A N/A self search_xdata Client alias1 tree alias True N/A test_add_group N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml write N/A Mock N/A N/A N/A metadata groups_xml load_xml N/A Mock N/A N/A N/A metadata groups_xml data N/A N/A N/A N/A N/A lxml etree XML <Groups/> getroottree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata add_group test1 N/A dict N/A N/A N/A N/A N/A metadata groups_xml write assert_any_call N/A grp N/A N/A metadata search_group test1 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertEqual N/A grp attrib N/A dict name test1 N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata add_group test2 N/A dict foo bar N/A N/A N/A N/A N/A metadata groups_xml write assert_any_call N/A grp N/A N/A metadata search_group test2 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertEqual N/A grp attrib N/A dict name test2 foo bar N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A N/A N/A metadata groups_xml write reset_mock N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata add_group test1 N/A dict N/A N/A N/A self assertFalse N/A N/A N/A metadata groups_xml write called N/A test_update_group N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml write_xml N/A Mock N/A N/A N/A metadata groups_xml load_xml N/A Mock N/A N/A N/A metadata groups_xml data N/A N/A copy deepcopy N/A get_groups_test_tree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata update_group group1 N/A dict foo bar N/A grp N/A N/A metadata search_group group1 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertIn foo N/A grp attrib N/A N/A N/A self assertEqual N/A N/A grp get foo bar N/A N/A N/A self assertTrue N/A N/A N/A metadata groups_xml write_xml called N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata update_group bogus_group N/A dict N/A test_remove_group N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml write_xml N/A Mock N/A N/A N/A metadata groups_xml load_xml N/A Mock N/A N/A N/A metadata groups_xml data N/A N/A copy deepcopy N/A get_groups_test_tree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata remove_group group5 N/A grp N/A N/A metadata search_group group5 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNone grp N/A N/A N/A self assertTrue N/A N/A N/A metadata groups_xml write_xml called N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata remove_group bogus_group N/A test_add_bundle N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml write N/A Mock N/A N/A N/A metadata groups_xml load_xml N/A Mock N/A N/A N/A metadata groups_xml data N/A N/A N/A N/A N/A lxml etree XML <Groups/> getroottree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata add_bundle bundle1 N/A N/A N/A N/A N/A metadata groups_xml write assert_any_call N/A bundle N/A N/A metadata search_bundle bundle1 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNotNone bundle N/A N/A N/A self assertEqual N/A bundle attrib N/A dict name bundle1 N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A N/A N/A metadata groups_xml write reset_mock N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata add_bundle bundle1 N/A N/A N/A self assertFalse N/A N/A N/A metadata groups_xml write called N/A test_remove_bundle N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml write_xml N/A Mock N/A N/A N/A metadata groups_xml load_xml N/A Mock N/A N/A N/A metadata groups_xml data N/A N/A copy deepcopy N/A get_groups_test_tree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A N/A N/A metadata remove_bundle bundle1 N/A grp N/A N/A metadata search_bundle bundle1 N/A N/A metadata groups_xml base_xdata N/A N/A N/A self assertIsNone grp N/A N/A N/A self assertTrue N/A N/A N/A metadata groups_xml write_xml called N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata remove_bundle bogus_bundle N/A test_add_client N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata clients_xml write N/A Mock N/A N/A N/A metadata clients_xml load_xml N/A Mock N/A N/A N/A metadata clients_xml data N/A N/A N/A N/A N/A lxml etree XML <Clients/> getroottree N/A N/A N/A metadata clients_xml basedata N/A N/A copy copy N/A N/A metadata clients_xml data N/A new1 N/A N/A self get_nonexistent_client metadata N/A new1_client N/A N/A metadata add_client new1 N/A dict N/A N/A N/A N/A N/A metadata clients_xml write assert_any_call N/A grp N/A N/A metadata search_client new1 N/A N/A metadata clients_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertEqual N/A grp attrib N/A dict name new1 N/A N/A N/A metadata clients_xml basedata N/A N/A copy copy N/A N/A metadata clients_xml data N/A N/A N/A metadata _handle_clients_xml_event N/A Mock N/A new2 N/A N/A self get_nonexistent_client metadata N/A N/A N/A metadata add_client new2 N/A dict foo bar N/A N/A N/A N/A N/A metadata clients_xml write assert_any_call N/A grp N/A N/A metadata search_client new2 N/A N/A metadata clients_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertEqual N/A grp attrib N/A dict name new2 foo bar N/A N/A N/A metadata clients_xml basedata N/A N/A copy copy N/A N/A metadata clients_xml data N/A N/A N/A N/A N/A metadata clients_xml write reset_mock N/A N/A N/A self assertXMLEqual N/A N/A metadata add_client new1 N/A dict new1_client N/A N/A N/A self assertFalse N/A N/A N/A metadata clients_xml write called N/A test_update_client N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata clients_xml write_xml N/A Mock N/A N/A N/A metadata clients_xml load_xml N/A Mock N/A N/A N/A metadata clients_xml data N/A N/A copy deepcopy N/A get_clients_test_tree N/A N/A N/A metadata clients_xml basedata N/A N/A copy copy N/A N/A metadata clients_xml data N/A N/A N/A metadata update_client client1 N/A dict foo bar N/A grp N/A N/A metadata search_client client1 N/A N/A metadata clients_xml base_xdata N/A N/A N/A self assertIsNotNone grp N/A N/A N/A self assertIn foo N/A grp attrib N/A N/A N/A self assertEqual N/A N/A grp get foo bar N/A N/A N/A self assertTrue N/A N/A N/A metadata clients_xml write_xml called N/A new N/A N/A self get_nonexistent_client metadata N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata update_client new N/A dict N/A load_clients_data N/A N/A self metadata xdata N/A None None N/A N/A N/A metadata None N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata clients_xml data N/A xdata N/A N/A copy deepcopy N/A get_clients_test_tree N/A N/A N/A metadata clients_xml basedata N/A N/A copy copy N/A N/A metadata clients_xml data N/A evt N/A Mock N/A N/A evt filename N/A N/A N/A os path join datastore Metadata clients.xml N/A N/A evt code2str N/A Mock return_value changed N/A N/A N/A metadata HandleEvent evt N/A metadata N/A test_handle_clients_xml_event N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A metadata profiles N/A group1 group2 N/A N/A metadata clients_xml N/A Mock N/A N/A N/A metadata clients_xml xdata N/A N/A copy deepcopy N/A get_clients_test_tree N/A N/A N/A metadata _handle_clients_xml_event N/A Mock N/A N/A N/A N/A N/A Bcfg2 Options setup metadata_db N/A N/A N/A N/A self assertItemsEqual N/A metadata clients N/A dict N/A N/A N/A N/A c get name N/A N/A c get profile N/A c N/A N/A N/A get_clients_test_tree findall //Client N/A aliases N/A dict N/A N/A N/A N/A a get name N/A N/A N/A N/A a getparent get name N/A a N/A N/A N/A get_clients_test_tree findall //Alias N/A N/A N/A self assertItemsEqual N/A metadata aliases aliases N/A raliases N/A dict N/A N/A N/A N/A c get name N/A set N/A c N/A N/A N/A get_clients_test_tree findall //Client N/A alias N/A N/A N/A get_clients_test_tree findall //Alias N/A N/A N/A N/A N/A raliases N/A N/A N/A N/A N/A alias getparent get name add N/A N/A alias get name N/A N/A N/A self assertItemsEqual N/A metadata raliases raliases N/A N/A N/A self assertEqual N/A metadata secure N/A N/A N/A c get name N/A c N/A N/A N/A get_clients_test_tree findall //Client[@secure='true'] N/A N/A N/A self assertEqual N/A metadata floating N/A client1 client10 N/A addresses N/A dict N/A N/A N/A N/A c get address N/A N/A c N/A N/A N/A get_clients_test_tree findall //*[@address] N/A raddresses N/A dict N/A client N/A N/A N/A get_clients_test_tree findall //Client[@address] N/A N/A N/A N/A N/A addresses N/A N/A N/A client get address append N/A N/A client get name N/A N/A N/A N/A N/A N/A raddresses N/A N/A N/A client get name append N/A N/A client get address N/A N/A N/A KeyError N/A N/A N/A raddresses N/A N/A N/A client get name N/A N/A N/A client get address N/A alias N/A N/A N/A get_clients_test_tree findall //Alias[@address] N/A N/A N/A N/A N/A addresses N/A N/A N/A alias get address append N/A N/A N/A N/A alias getparent get name N/A N/A N/A N/A N/A N/A raddresses N/A N/A N/A N/A N/A alias getparent get name append N/A N/A alias get address N/A N/A N/A KeyError N/A N/A N/A raddresses N/A N/A N/A N/A N/A alias getparent get name N/A N/A alias get address N/A N/A N/A self assertItemsEqual N/A metadata addresses addresses N/A N/A N/A self assertItemsEqual N/A metadata raddresses raddresses N/A N/A N/A self assertTrue N/A N/A metadata states N/A clients.xml N/A load_groups_data N/A N/A self metadata xdata N/A None None N/A N/A N/A metadata None N/A N/A metadata N/A N/A self get_obj N/A N/A N/A metadata groups_xml data N/A xdata N/A N/A copy deepcopy N/A get_groups_test_tree N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A evt N/A Mock N/A N/A evt filename N/A N/A N/A os path join datastore Metadata groups.xml N/A N/A evt code2str N/A Mock return_value changed N/A N/A N/A metadata HandleEvent evt N/A metadata N/A test_handle_groups_xml_event N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A metadata groups_xml N/A Mock N/A N/A N/A metadata groups_xml xdata N/A get_groups_test_tree N/A N/A N/A metadata _handle_groups_xml_event N/A Mock N/A N/A N/A self assertTrue N/A N/A metadata states N/A groups.xml N/A N/A N/A self assertTrue N/A N/A N/A metadata groups N/A group1 is_public N/A N/A N/A self assertTrue N/A N/A N/A metadata groups N/A group2 is_public N/A N/A N/A self assertFalse N/A N/A N/A metadata groups N/A group3 is_public N/A N/A N/A self assertTrue N/A N/A N/A metadata groups N/A group1 is_profile N/A N/A N/A self assertTrue N/A N/A N/A metadata groups N/A group2 is_profile N/A N/A N/A self assertFalse N/A N/A N/A metadata groups N/A group3 is_profile N/A N/A N/A self assertItemsEqual N/A N/A N/A metadata groups keys N/A set N/A N/A N/A g get name N/A g N/A N/A N/A get_groups_test_tree findall //Group N/A N/A N/A self assertEqual N/A N/A N/A metadata groups N/A group1 category category1 N/A N/A N/A self assertEqual N/A N/A N/A metadata groups N/A group2 category category1 N/A N/A N/A self assertEqual N/A N/A N/A metadata groups N/A group3 category category2 N/A N/A N/A self assertEqual N/A N/A N/A metadata groups N/A group4 category category1 N/A N/A N/A self assertEqual N/A metadata default group1 N/A all_groups N/A set N/A negated_groups N/A set N/A group N/A N/A N/A N/A get_groups_test_tree xpath //Groups/Client//* N/A N/A N/A get_groups_test_tree xpath //Groups/Group//* N/A N/A N/A N/A N/A group tag Group N/A N/A N/A group getchildren N/A N/A N/A N/A N/A N/A N/A group get negate false lower true N/A N/A N/A N/A negated_groups add N/A N/A group get name N/A N/A N/A N/A all_groups add N/A N/A group get name N/A N/A N/A self assertItemsEqual N/A metadata ordered_groups all_groups N/A N/A N/A self assertItemsEqual N/A N/A N/A metadata group_membership keys all_groups N/A N/A N/A self assertItemsEqual N/A N/A N/A metadata negated_groups keys negated_groups N/A test_set_profile N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A clients.xml N/A metadata states N/A N/A N/A N/A metadata states N/A clients.xml False N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A metadata set_profile None None None N/A N/A N/A self load_groups_data metadata metadata N/A N/A N/A self load_clients_data metadata metadata N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata set_profile client1 group5 None N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata set_profile client1 group3 None N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_set_profile_db N/A N/A self N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A metadata _use_db N/A N/A profile group1 N/A client_name N/A N/A self get_nonexistent_client metadata N/A N/A N/A metadata set_profile client_name profile None N/A N/A N/A self assertIn client_name N/A metadata clients N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin PluginExecutionError N/A metadata set_profile client_name profile None N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_set_profile_xml N/A N/A self mock_update_client mock_add_client N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A metadata _use_db N/A N/A N/A N/A metadata clients_xml write N/A Mock N/A N/A N/A metadata core build_metadata N/A Mock N/A N/A N/A N/A metadata core build_metadata side_effect N/A N/A N/A c N/A N/A N/A metadata get_initial_metadata c N/A N/A N/A metadata set_profile client1 group2 None N/A N/A N/A mock_update_client assert_called_with client1 N/A dict profile group2 N/A N/A N/A self assertEqual N/A N/A metadata clientgroups N/A client1 N/A group2 N/A N/A N/A N/A N/A metadata clients_xml write reset_mock N/A new1 N/A N/A self get_nonexistent_client metadata N/A N/A N/A metadata set_profile new1 group1 None N/A N/A N/A mock_add_client assert_called_with new1 N/A dict profile group1 N/A N/A N/A N/A N/A metadata clients_xml write assert_any_call N/A N/A N/A self assertEqual N/A N/A metadata clientgroups N/A new1 N/A group1 N/A N/A N/A N/A N/A metadata clients_xml write reset_mock N/A new2 N/A N/A self get_nonexistent_client metadata N/A N/A N/A metadata session_cache N/A N/A 1.2.3.6 None N/A None new2 N/A N/A N/A metadata set_profile uuid_new group1 N/A 1.2.3.6 None N/A N/A N/A mock_add_client assert_called_with new2 N/A dict uuid uuid_new profile group1 address 1.2.3.6 N/A N/A N/A N/A N/A metadata clients_xml write assert_any_call N/A N/A N/A self assertEqual N/A N/A metadata clientgroups N/A uuid_new N/A group1 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.add_client N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.update_client test_resolve_client N/A N/A self mock_getnameinfo N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A metadata session_cache N/A N/A 1.2.3.3 None N/A N/A N/A time time client3 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.3 None client3 N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata resolve_client N/A 1.2.3.2 None N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.1 None client1 N/A N/A N/A metadata session_cache N/A N/A 1.2.3.3 None N/A N/A N/A N/A time time 100 client3 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.3 None client3 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.3 None cleanup_cache True client3 N/A N/A N/A self assertEqual N/A metadata session_cache N/A dict N/A N/A mock_getnameinfo return_value N/A client6 N/A N/A 1.2.3.6 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.6 6789 client6 N/A N/A N/A mock_getnameinfo assert_called_with N/A 1.2.3.6 6789 N/A socket NI_NAMEREQD N/A N/A N/A mock_getnameinfo reset_mock N/A N/A mock_getnameinfo return_value N/A alias3 N/A N/A 1.2.3.7 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.7 6789 client4 N/A N/A N/A mock_getnameinfo assert_called_with N/A 1.2.3.7 6789 N/A socket NI_NAMEREQD N/A N/A N/A mock_getnameinfo reset_mock N/A N/A mock_getnameinfo return_value None N/A N/A mock_getnameinfo side_effect N/A socket herror N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata resolve_client N/A 1.2.3.8 6789 N/A N/A N/A mock_getnameinfo assert_called_with N/A 1.2.3.8 6789 N/A socket NI_NAMEREQD N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch socket.getnameinfo test_get_initial_metadata N/A N/A self mock_clientmetadata N/A N/A N/A metadata N/A N/A self get_obj N/A N/A clients.xml N/A metadata states N/A N/A N/A N/A metadata states N/A clients.xml False N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A metadata get_initial_metadata None N/A N/A N/A self load_groups_data metadata metadata N/A N/A N/A self load_clients_data metadata metadata N/A N/A N/A metadata get_initial_metadata client1 N/A N/A N/A mock_clientmetadata assert_called_with client1 group1 N/A set N/A group1 N/A set N/A set N/A set N/A 1.2.3.1 N/A dict category1 group1 None password2 None N/A metadata query N/A N/A N/A metadata get_initial_metadata client2 N/A N/A N/A mock_clientmetadata assert_called_with client2 group2 N/A set N/A group2 N/A set N/A bundle1 bundle2 N/A set N/A set N/A 1.2.3.2 N/A dict category1 group2 None None None N/A metadata query N/A imd N/A N/A metadata get_initial_metadata alias1 N/A N/A N/A mock_clientmetadata assert_called_with client3 group1 N/A set N/A group1 N/A set N/A set N/A alias1 N/A set N/A 1.2.3.3 N/A dict category1 group1 uuid1 password2 None N/A metadata query N/A new1 N/A N/A self get_nonexistent_client metadata N/A imd N/A N/A metadata get_initial_metadata new1 N/A N/A N/A mock_clientmetadata assert_called_with new1 group1 N/A set N/A group1 N/A set N/A set N/A set N/A dict category1 group1 None None None N/A metadata query N/A imd N/A N/A metadata get_initial_metadata client8 N/A N/A N/A mock_clientmetadata assert_called_with client8 group1 N/A set N/A group1 group8 group9 group10 N/A set N/A set N/A set N/A 1.2.3.5 N/A dict category1 group1 None None None N/A metadata query N/A imd N/A N/A metadata get_initial_metadata client9 N/A N/A N/A mock_clientmetadata assert_called_with client9 group2 N/A set N/A group2 group8 group11 N/A set N/A bundle1 bundle2 N/A set N/A set N/A dict category1 group2 None password3 None N/A metadata query N/A N/A metadata default None N/A new2 N/A N/A self get_nonexistent_client metadata N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata get_initial_metadata new2 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.write_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.ClientMetadata test_merge_groups N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A self load_groups_data metadata metadata N/A N/A N/A self load_clients_data metadata metadata N/A N/A N/A self assertEqual N/A N/A metadata _merge_groups client1 N/A set N/A group1 categories N/A dict group1 category1 N/A N/A set N/A group1 N/A dict group1 category1 N/A N/A N/A self assertEqual N/A N/A metadata _merge_groups client8 N/A set N/A group1 group8 group9 categories N/A dict group1 category1 N/A N/A set N/A group1 group8 group9 group10 N/A dict group1 category1 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_get_all_group_names N/A N/A self N/A N/A N/A metadata N/A N/A self load_groups_data N/A N/A N/A self assertItemsEqual N/A N/A metadata get_all_group_names N/A set N/A N/A N/A g get name N/A g N/A N/A N/A get_groups_test_tree findall //Group N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_get_all_groups_in_category N/A N/A self N/A N/A N/A metadata N/A N/A self load_groups_data N/A N/A N/A self assertItemsEqual N/A N/A metadata get_all_groups_in_category category1 N/A set N/A N/A N/A g get name N/A g N/A N/A N/A get_groups_test_tree findall //Group[@category='category1'] N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_get_client_names_by_profiles N/A N/A self N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A metadata core build_metadata N/A Mock N/A N/A N/A N/A metadata core build_metadata side_effect N/A N/A N/A c N/A N/A N/A metadata get_initial_metadata c N/A N/A N/A self assertItemsEqual N/A N/A metadata get_client_names_by_profiles N/A group2 N/A N/A N/A c get name N/A c N/A N/A N/A get_clients_test_tree findall //Client[@profile='group2'] N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_get_client_names_by_groups N/A N/A self N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A metadata core build_metadata N/A Mock N/A N/A N/A N/A metadata core build_metadata side_effect N/A N/A N/A c N/A N/A N/A metadata get_initial_metadata c N/A N/A N/A self assertItemsEqual N/A N/A metadata get_client_names_by_groups N/A group2 N/A N/A N/A c get name N/A c N/A N/A N/A get_clients_test_tree findall //Client[@profile='group2'] N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_merge_additional_groups N/A N/A self N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A imd N/A N/A metadata get_initial_metadata client2 N/A oldgroups N/A imd groups N/A N/A N/A metadata merge_additional_groups imd N/A group4 N/A N/A N/A self assertEqual N/A imd groups oldgroups N/A oldgroups N/A imd groups N/A N/A N/A metadata merge_additional_groups imd N/A group3 N/A N/A N/A self assertEqual N/A imd groups oldgroups N/A oldgroups N/A imd groups N/A oldbundles N/A imd bundles N/A N/A N/A metadata merge_additional_groups imd N/A group7 N/A N/A N/A self assertEqual N/A imd groups N/A N/A oldgroups union N/A group7 N/A N/A N/A self assertEqual N/A imd bundles N/A N/A oldbundles union N/A bundle3 N/A oldgroups N/A imd groups N/A N/A N/A metadata merge_additional_groups imd N/A group12 N/A N/A N/A self assertEqual N/A imd groups N/A N/A oldgroups union N/A group12 N/A N/A N/A self assertIn category3 N/A imd categories N/A N/A N/A self assertEqual N/A N/A imd categories N/A category3 group12 N/A imd N/A N/A metadata get_initial_metadata client2 N/A oldgroups N/A imd groups N/A N/A N/A metadata merge_additional_groups imd N/A group6 group8 N/A N/A N/A self assertItemsEqual N/A imd groups N/A N/A oldgroups union N/A group6 group8 group9 N/A imd N/A N/A metadata get_initial_metadata client2 N/A oldgroups N/A imd groups N/A N/A N/A metadata merge_additional_groups imd N/A group6 newgroup N/A N/A N/A self assertItemsEqual N/A imd groups N/A N/A oldgroups union N/A group6 newgroup N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_merge_additional_data N/A N/A self N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A imd N/A N/A metadata get_initial_metadata client1 N/A pattern connector%d N/A i N/A range 0 100 N/A N/A connector N/A pattern i N/A N/A N/A hasattr imd connector N/A N/A N/A N/A N/A self assertFalse N/A hasattr imd connector Could not find unique connector name to test merge_additional_data() N/A N/A N/A metadata merge_additional_data imd connector test data N/A N/A N/A self assertEqual N/A getattr imd connector test data N/A N/A N/A self assertIn connector N/A imd connectors N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock test_validate_client_address N/A N/A self mock_resolve_client N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A self assertTrue N/A N/A metadata validate_client_address client1 N/A None None N/A N/A N/A self assertTrue N/A N/A metadata validate_client_address client2 N/A 1.2.3.2 None N/A N/A N/A self assertFalse N/A N/A metadata validate_client_address client2 N/A 1.2.3.8 None N/A N/A N/A self assertTrue N/A N/A metadata validate_client_address client4 N/A 1.2.3.2 None N/A N/A mock_resolve_client return_value CLIENT4 N/A N/A N/A self assertTrue N/A N/A metadata validate_client_address client4 N/A 1.2.3.7 None N/A N/A N/A mock_resolve_client assert_called_with N/A 1.2.3.7 None N/A N/A N/A mock_resolve_client reset_mock N/A N/A N/A self assertFalse N/A N/A metadata validate_client_address client5 N/A 1.2.3.5 None N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.resolve_client test_AuthenticateConnection N/A N/A self mock_resolve_client mock_validate_client_address N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A metadata password password1 N/A cert N/A dict subject N/A N/A N/A commonName client1 N/A N/A mock_validate_client_address return_value False N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection cert root None 1.2.3.1 N/A N/A mock_validate_client_address return_value True N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection cert root None 1.2.3.1 N/A N/A N/A self assertIn 1.2.3.1 N/A metadata session_cache N/A N/A N/A self assertEqual N/A N/A N/A metadata session_cache N/A 1.2.3.1 N/A 1 client1 N/A cert N/A dict subject N/A N/A N/A commonName client7 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection cert root None 1.2.3.4 N/A N/A N/A self assertNotIn 1.2.3.4 N/A metadata session_cache N/A cert N/A dict subject N/A N/A N/A commonName client8 N/A N/A mock_resolve_client return_value client5 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection None root password1 1.2.3.8 N/A N/A mock_resolve_client side_effect N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection None root password1 1.2.3.8 N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection None client2 None 1.2.3.2 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection None uuid1 password1 1.2.3.3 N/A N/A N/A self assertIn 1.2.3.3 N/A metadata session_cache N/A N/A N/A self assertEqual N/A N/A N/A metadata session_cache N/A 1.2.3.3 N/A 1 client3 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection None client3 password2 1.2.3.3 N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection None client9 password1 1.2.3.9 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection None client9 password3 1.2.3.9 N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection None client5 password2 1.2.3.7 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.validate_client_address N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.resolve_client test_end_statistics N/A N/A self mock_update_client N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A md N/A Mock N/A N/A md hostname client6 N/A N/A N/A metadata end_statistics md N/A N/A N/A mock_update_client assert_called_with N/A md hostname N/A dict auth cert N/A N/A N/A mock_update_client reset_mock N/A N/A md hostname client5 N/A N/A N/A metadata end_statistics md N/A N/A N/A self assertFalse N/A mock_update_client called N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.update_client test_viz N/A N/A self N/A N/A N/A N/A N/A TestMetadataBase N/A TestMetadata N/A N/A  base test object for testing Metadata with database enabled  N/A __test__ False setUp N/A N/A self N/A N/A N/A N/A N/A _TestMetadata setUp self N/A N/A N/A TestClientRunHooks setUp self N/A N/A N/A TestDatabaseBacked setUp self N/A N/A N/A N/A Bcfg2 Options setup metadata_db True N/A N/A syncdb TestMetadataDB N/A N/A skipUnless HAS_DJANGO Django not found load_clients_data N/A N/A self metadata xdata N/A None None N/A N/A N/A metadata None N/A N/A metadata N/A get_obj N/A client N/A N/A N/A get_clients_test_tree findall Client N/A N/A N/A N/A metadata add_client N/A N/A client get name N/A metadata N/A get_nonexistent_client N/A N/A self _ prefix N/A newclient N/A N/A clients N/A N/A o hostname N/A o N/A N/A N/A MetadataClientModel objects all N/A i 0 N/A client_name N/A %s%s N/A prefix i N/A N/A client_name clients N/A N/A i 1 N/A client_name N/A %s%s N/A prefix i N/A client_name N/A test__init N/A N/A self mock_get_fam mock_exists N/A N/A N/A N/A mock_exists return_value False N/A metadata N/A N/A self get_obj N/A N/A N/A self assertIsInstance metadata N/A N/A N/A Bcfg2 Server Plugin DatabaseBacked N/A N/A N/A N/A N/A mock_get_fam return_value AddMonitor assert_called_with N/A N/A N/A os path join N/A metadata data groups.xml metadata N/A N/A mock_exists return_value True N/A N/A N/A mock_get_fam reset_mock N/A metadata N/A N/A self get_obj N/A N/A N/A N/A N/A mock_get_fam return_value AddMonitor assert_any_call N/A N/A N/A os path join N/A metadata data groups.xml metadata N/A N/A N/A N/A N/A mock_get_fam return_value AddMonitor assert_any_call N/A N/A N/A os path join N/A metadata data clients.xml metadata N/A N/A patch os.path.exists N/A patch Bcfg2.Server.FileMonitor.get_fam test_add_group N/A N/A self N/A N/A N/A N/A test_add_bundle N/A N/A self N/A N/A N/A N/A test_add_client N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A hostname N/A N/A self get_nonexistent_client metadata N/A client N/A N/A metadata add_client hostname N/A N/A N/A self assertIsInstance client MetadataClientModel N/A N/A N/A self assertEqual N/A client hostname hostname N/A N/A N/A self assertIn hostname N/A metadata clients N/A N/A N/A self assertIn hostname N/A N/A metadata list_clients N/A N/A N/A self assertItemsEqual N/A metadata clients N/A N/A c hostname N/A c N/A N/A N/A MetadataClientModel objects all N/A test_update_group N/A N/A self N/A N/A N/A N/A test_update_bundle N/A N/A self N/A N/A N/A N/A test_update_client N/A N/A self N/A N/A N/A N/A test_list_clients N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A N/A N/A self assertItemsEqual N/A N/A metadata list_clients N/A N/A c hostname N/A c N/A N/A N/A MetadataClientModel objects all N/A test_remove_group N/A N/A self N/A N/A N/A N/A test_remove_bundle N/A N/A self N/A N/A N/A N/A test_remove_client N/A N/A self N/A N/A N/A metadata N/A N/A self get_obj N/A client_name N/A N/A self get_nonexistent_client metadata N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata remove_client client_name N/A N/A N/A metadata add_client client_name N/A N/A N/A metadata remove_client client_name N/A N/A N/A self assertNotIn client_name N/A metadata clients N/A N/A N/A self assertNotIn client_name N/A N/A metadata list_clients N/A N/A N/A self assertItemsEqual N/A metadata clients N/A N/A c hostname N/A c N/A N/A N/A MetadataClientModel objects all N/A test_process_statistics N/A N/A self N/A N/A N/A N/A N/A TestMetadata_NoClientsXML N/A TestMetadataBase N/A N/A  test Metadata without a clients.xml. we have to disable or
    override tests that rely on client options  N/A __test__ True load_groups_data N/A N/A self metadata xdata N/A None None N/A N/A N/A metadata None N/A N/A metadata N/A N/A self get_obj N/A N/A xdata N/A N/A xdata N/A N/A copy deepcopy N/A get_groups_test_tree N/A client N/A N/A N/A get_clients_test_tree findall Client N/A N/A newclient N/A N/A N/A lxml etree SubElement N/A N/A xdata getroot Client name N/A N/A client get name N/A N/A N/A N/A lxml etree SubElement newclient Group name N/A N/A client get profile N/A N/A N/A metadata groups_xml data xdata N/A N/A N/A metadata groups_xml basedata N/A N/A copy copy N/A N/A metadata groups_xml data N/A evt N/A Mock N/A N/A evt filename N/A N/A N/A os path join datastore Metadata groups.xml N/A N/A evt code2str N/A Mock return_value changed N/A N/A N/A metadata HandleEvent evt N/A metadata N/A test_get_initial_metadata N/A N/A self mock_clientmetadata N/A N/A N/A metadata N/A N/A self get_obj N/A N/A clients.xml N/A metadata states N/A N/A N/A N/A metadata states N/A clients.xml False N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataRuntimeError N/A metadata get_initial_metadata None N/A N/A N/A self load_groups_data metadata metadata N/A N/A N/A self load_clients_data metadata metadata N/A N/A N/A metadata get_initial_metadata client1 N/A N/A N/A mock_clientmetadata assert_called_with client1 group1 N/A set N/A group1 N/A set N/A set N/A set N/A dict category1 group1 None None None N/A metadata query N/A N/A N/A metadata get_initial_metadata client2 N/A N/A N/A mock_clientmetadata assert_called_with client2 group2 N/A set N/A group2 N/A set N/A bundle1 bundle2 N/A set N/A set N/A dict category1 group2 None None None N/A metadata query N/A new1 N/A N/A self get_nonexistent_client metadata N/A imd N/A N/A metadata get_initial_metadata new1 N/A N/A N/A mock_clientmetadata assert_called_with new1 group1 N/A set N/A group1 N/A set N/A set N/A set N/A dict category1 group1 None None None N/A metadata query N/A imd N/A N/A metadata get_initial_metadata client8 N/A N/A N/A mock_clientmetadata assert_called_with client8 group1 N/A set N/A group1 group8 group9 group10 N/A set N/A set N/A set N/A dict category1 group1 None None None N/A metadata query N/A imd N/A N/A metadata get_initial_metadata client9 N/A N/A N/A mock_clientmetadata assert_called_with client9 group2 N/A set N/A group2 group8 group11 N/A set N/A bundle1 bundle2 N/A set N/A set N/A dict category1 group2 None None None N/A metadata query N/A N/A metadata default None N/A new2 N/A N/A self get_nonexistent_client metadata N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata get_initial_metadata new2 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.write_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.ClientMetadata test_validate_client_address N/A N/A self mock_resolve_client N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A mock_resolve_client return_value CLIENT4 N/A N/A N/A self assertTrue N/A N/A metadata validate_client_address client4 N/A 1.2.3.7 None N/A N/A N/A mock_resolve_client assert_called_with N/A 1.2.3.7 None N/A N/A N/A mock_resolve_client reset_mock N/A N/A N/A self assertFalse N/A N/A metadata validate_client_address client5 N/A 1.2.3.5 None N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.resolve_client test_AuthenticateConnection N/A N/A self mock_resolve_client mock_validate_client_address N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A metadata password password1 N/A cert N/A dict subject N/A N/A N/A commonName client1 N/A N/A mock_validate_client_address return_value False N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection cert root None 1.2.3.1 N/A N/A mock_validate_client_address return_value True N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection cert root N/A metadata password 1.2.3.1 N/A cert N/A dict subject N/A N/A N/A commonName client8 N/A N/A mock_resolve_client return_value client5 N/A N/A N/A self assertTrue N/A N/A metadata AuthenticateConnection None root password1 1.2.3.8 N/A N/A mock_resolve_client side_effect N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A N/A N/A self assertFalse N/A N/A metadata AuthenticateConnection None root password1 1.2.3.8 N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.validate_client_address N/A patch Bcfg2.Server.Plugins.Metadata.Metadata.resolve_client test_resolve_client N/A N/A self mock_getnameinfo N/A N/A N/A metadata N/A N/A self load_clients_data metadata N/A N/A self load_groups_data N/A N/A N/A metadata session_cache N/A N/A 1.2.3.3 None N/A N/A N/A time time client3 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.3 None client3 N/A N/A N/A metadata session_cache N/A N/A 1.2.3.3 None N/A N/A N/A N/A time time 100 client3 N/A N/A mock_getnameinfo return_value N/A client3 N/A N/A 1.2.3.3 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.3 None cleanup_cache True client3 N/A N/A N/A self assertEqual N/A metadata session_cache N/A dict N/A N/A mock_getnameinfo return_value N/A client6 N/A N/A 1.2.3.6 N/A N/A N/A self assertEqual N/A N/A metadata resolve_client N/A 1.2.3.6 6789 N/A socket NI_NAMEREQD client6 N/A N/A N/A mock_getnameinfo assert_called_with N/A 1.2.3.6 6789 N/A socket NI_NAMEREQD N/A N/A N/A mock_getnameinfo reset_mock N/A N/A mock_getnameinfo return_value None N/A N/A mock_getnameinfo side_effect N/A socket herror N/A N/A N/A self assertRaises N/A N/A N/A Bcfg2 Server Plugin MetadataConsistencyError N/A metadata resolve_client N/A 1.2.3.8 6789 N/A socket NI_NAMEREQD N/A N/A N/A mock_getnameinfo assert_called_with N/A 1.2.3.8 6789 N/A socket NI_NAMEREQD N/A N/A patch Bcfg2.Server.Plugins.Metadata.XMLMetadataConfig.load_xml N/A Mock N/A patch socket.getnameinfo test_handle_clients_xml_event N/A N/A self N/A N/A N/A N/A test_end_statistics N/A N/A self N/A N/A N/A N/A N/A TestMetadata_ClientsXML N/A TestMetadataBase N/A N/A  test Metadata with a clients.xml.   N/A __test__ True load_clients_data N/A N/A self metadata xdata N/A None None N/A N/A N/A metadata None N/A N/A metadata N/A N/A self get_obj N/A fam N/A N/A N/A Bcfg2 Server FileMonitor _FAM N/A N/A N/A N/A Bcfg2 Server FileMonitor _FAM N/A MagicMock inner N/A N/A N/A N/A N/A N/A metadata clients_xml N/A N/A metadata _handle_file clients.xml N/A N/A patchIf N/A N/A isinstance N/A N/A lxml etree Element Mock lxml.etree.Element N/A Mock N/A N/A inner N/A metadata N/A N/A TestMetadata load_clients_data self metadata metadata xdata xdata N/A rv N/A N/A TestMetadataBase load_clients_data self metadata metadata xdata xdata N/A N/A N/A N/A Bcfg2 Server FileMonitor _FAM fam N/A rv N/A N/A