Module Import alias Import alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr ListLoad Dict Str Str AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr Str Str Expr Call NameLoad Dict Str Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str NameLoad Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call NameLoad Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str ListComp NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call NameLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Dict Str Str Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr keyword Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Expr Call NameLoad Dict Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call NameLoad Dict Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Dict Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Str Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str NameLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Str TupleLoad Str Str TupleLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str NameLoad Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Num Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Dict Str Str Str Str Str AttributeLoad NameLoad attr Str Str Assign SubscriptStore NameLoad Index Str ListLoad Dict Str Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str ListLoad Dict Str AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Dict Str NameLoad TupleLoad Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Dict Str Str Str Str AttributeLoad NameLoad attr Str Str Str Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Dict Str Str Str Str AttributeLoad NameLoad attr Str Str Str Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword DictComp SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr NameLoad ListLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Dict Str Str Str AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Dict Str Str Str Call AttributeLoad NameLoad attr Str Dict Str Str Str Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Dict Str Str Str Str Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Dict Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str NameLoad Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Dict Str Dict Str Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Dict Str Dict Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TryExcept body With Call AttributeLoad NameLoad attr NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Raise Call NameLoad Str handlers ExceptHandler type NameLoad name NameStore body If CompareNotEq Call NameLoad NameLoad Str body Raise Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Dict Str Dict Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Str Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad keyword IfExp NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list Expr Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr ListLoad Dict Str Str NameLoad Str Dict Str Str NameLoad Str Dict Str Str NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str Str Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A copy N/A mock oslotest base test_base ec2api.api common ec2api.api ec2utils ec2api.api route_table route_table_api ec2api exception ec2api.tests.unit base ec2api.tests.unit fakes ec2api.tests.unit matchers ec2api.tests.unit tools RouteTableTestCase N/A N/A base ApiTestCase N/A test_route_table_create N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_VPC_1 N/A N/A N/A N/A self db_api add_item side_effect N/A N/A tools get_db_api_add_item N/A fakes ID_EC2_ROUTE_TABLE_1 N/A resp N/A N/A self execute CreateRouteTable N/A VpcId N/A fakes ID_EC2_VPC_1 N/A N/A N/A self assertThat N/A resp N/A routeTable N/A N/A matchers DictMatches N/A N/A tools purge_dict N/A fakes EC2_ROUTE_TABLE_1 N/A associationSet N/A N/A N/A N/A N/A self db_api add_item assert_called_once_with N/A mock ANY rtb N/A vpc_id routes N/A fakes ID_EC2_VPC_1 N/A N/A destination_cidr_block gateway_id N/A fakes CIDR_VPC_1 None N/A N/A N/A N/A N/A self db_api get_item_by_id assert_called_once_with N/A mock ANY N/A fakes ID_EC2_VPC_1 N/A test_route_table_create_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A N/A N/A self assert_execution_error InvalidVpcID.NotFound CreateRouteTable N/A VpcId N/A fakes ID_EC2_VPC_1 N/A test_create_route N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 N/A fakes DB_IGW_1 N/A fakes DB_VPN_GATEWAY_1 N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 do_check N/A N/A params route_table rollback_route_table_state update_target N/A N/A route_table_api HOST_TARGET N/A N/A resp N/A N/A self execute CreateRoute params N/A N/A N/A self assertEqual True N/A resp N/A return N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY route_table N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY route_table update_target update_target N/A N/A N/A N/A N/A self db_api update_item reset_mock N/A N/A N/A routes_updater reset_mock N/A N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A gateway_id destination_cidr_block N/A fakes ID_EC2_IGW_1 0.0.0.0/0 N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 0.0.0.0/0 N/A fakes ID_EC2_IGW_1 route_table N/A fakes DB_ROUTE_TABLE_1 N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A gateway_id destination_cidr_block N/A fakes ID_EC2_VPN_GATEWAY_1 0.0.0.0/0 N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 0.0.0.0/0 N/A fakes ID_EC2_VPN_GATEWAY_1 route_table N/A fakes DB_ROUTE_TABLE_1 update_target N/A route_table_api VPN_TARGET N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A network_interface_id destination_cidr_block N/A fakes ID_EC2_NETWORK_INTERFACE_1 192.168.75.0/24 N/A N/A do_check N/A RouteTableId DestinationCidrBlock NetworkInterfaceId N/A fakes ID_EC2_ROUTE_TABLE_1 192.168.75.0/24 N/A fakes ID_EC2_NETWORK_INTERFACE_1 route_table N/A fakes DB_ROUTE_TABLE_1 N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A network_interface_id destination_cidr_block N/A fakes ID_EC2_NETWORK_INTERFACE_2 192.168.80.0/24 N/A N/A do_check N/A RouteTableId DestinationCidrBlock InstanceId N/A fakes ID_EC2_ROUTE_TABLE_1 192.168.80.0/24 N/A fakes ID_EC2_INSTANCE_1 route_table N/A fakes DB_ROUTE_TABLE_1 N/A N/A do_check N/A RouteTableId DestinationCidrBlock InstanceId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes CIDR_EXTERNAL_NETWORK N/A fakes ID_EC2_INSTANCE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_ROUTE_TABLE_2 N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 0.0.0.0/0 N/A fakes ID_EC2_IGW_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_create_route_invalid_parameters N/A N/A self N/A N/A N/A id_ec2_eni_vpc_2 N/A N/A fakes random_ec2_id eni N/A eni_vpc_2 N/A N/A fakes gen_db_network_interface id_ec2_eni_vpc_2 N/A N/A fakes random_os_id N/A fakes ID_EC2_VPC_2 N/A N/A fakes random_ec2_id subnet 10.20.0.10 instance_id N/A fakes ID_EC2_INSTANCE_2 N/A eni_2_in_instance_1 N/A N/A fakes gen_db_network_interface N/A N/A fakes random_ec2_id eni N/A N/A fakes random_os_id N/A fakes ID_EC2_VPC_1 N/A N/A fakes random_ec2_id subnet 10.10.3.15 instance_id N/A fakes ID_EC2_INSTANCE_1 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 eni_vpc_2 N/A fakes DB_IGW_1 N/A fakes DB_IGW_2 N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A fakes DB_VPN_GATEWAY_2 do_check N/A N/A params error_code N/A N/A N/A N/A N/A self assert_execution_error error_code CreateRoute params N/A N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 not_a_cidr N/A fakes ID_EC2_IGW_1 InvalidParameterValue N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A N/A fakes random_ec2_id rtb N/A fakes CIDR_VPC_1 N/A fakes ID_EC2_IGW_1 InvalidRouteTableID.NotFound N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes CIDR_VPC_1 N/A fakes ID_EC2_IGW_1 InvalidParameterValue N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A N/A fakes IP_NETWORK_INTERFACE_1 /24 N/A fakes ID_EC2_IGW_1 InvalidParameterValue N/A N/A do_check N/A RouteTableId DestinationCidrBlock NetworkInterfaceId N/A fakes ID_EC2_ROUTE_TABLE_2 0.0.0.0/0 N/A fakes ID_EC2_NETWORK_INTERFACE_1 RouteAlreadyExists N/A N/A do_check N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 0.0.0.0/0 MissingParameter N/A N/A do_check N/A RouteTableId DestinationCidrBlock NetworkInterfaceId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 0.0.0.0/0 N/A fakes ID_EC2_NETWORK_INTERFACE_1 N/A fakes ID_EC2_IGW_1 InvalidParameterCombination N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A N/A fakes random_ec2_id igw InvalidInternetGatewayID.NotFound N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A fakes ID_EC2_IGW_2 InvalidParameterValue N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A N/A fakes random_ec2_id vgw InvalidVpnGatewayID.NotFound N/A N/A do_check N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A fakes ID_EC2_VPN_GATEWAY_2 InvalidGatewayID.NotFound N/A N/A do_check N/A RouteTableId DestinationCidrBlock NetworkInterfaceId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 id_ec2_eni_vpc_2 InvalidParameterValue N/A N/A do_check N/A RouteTableId DestinationCidrBlock InstanceId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A fakes ID_EC2_INSTANCE_2 InvalidParameterValue N/A N/A N/A self add_mock_db_items eni_2_in_instance_1 N/A N/A do_check N/A RouteTableId DestinationCidrBlock InstanceId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A fakes ID_EC2_INSTANCE_1 InvalidInstanceID N/A N/A do_check N/A RouteTableId DestinationCidrBlock InstanceId N/A fakes ID_EC2_ROUTE_TABLE_2 192.168.100.0/0 N/A fakes ID_EC2_INSTANCE_2 InvalidParameterValue N/A test_create_or_replace_route_rollback N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 N/A fakes DB_IGW_1 N/A N/A fakes gen_db_igw N/A fakes ID_EC2_IGW_2 N/A fakes ID_EC2_VPC_1 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A tools ScreeningLogger log_name ec2api.api N/A N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR CreateRoute N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 0.0.0.0/0 N/A fakes ID_EC2_IGW_1 N/A N/A N/A N/A N/A self db_api update_item assert_called_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A tools ScreeningLogger log_name ec2api.api N/A N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR ReplaceRoute N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 0.0.0.0/0 N/A fakes ID_EC2_IGW_2 N/A N/A N/A N/A N/A self db_api update_item assert_called_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_replace_route N/A N/A self routes_updater N/A N/A N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A gateway_id destination_cidr_block N/A fakes ID_EC2_IGW_1 0.0.0.0/0 N/A N/A N/A self set_mock_db_items route_table N/A fakes DB_VPC_1 N/A fakes DB_IGW_1 N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A resp N/A N/A self execute ReplaceRoute N/A RouteTableId DestinationCidrBlock NetworkInterfaceId N/A fakes ID_EC2_ROUTE_TABLE_1 0.0.0.0/0 N/A fakes ID_EC2_NETWORK_INTERFACE_1 N/A N/A N/A self assertEqual True N/A resp N/A return N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table N/A routes append N/A network_interface_id destination_cidr_block N/A fakes ID_EC2_NETWORK_INTERFACE_1 0.0.0.0/0 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY route_table N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY route_table update_target N/A route_table_api HOST_TARGET N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_replace_route_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_VPC_1 N/A fakes DB_IGW_1 N/A N/A N/A self assert_execution_error InvalidParameterValue ReplaceRoute N/A RouteTableId DestinationCidrBlock GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 11.22.33.0/24 N/A fakes ID_EC2_IGW_1 N/A test_delete_route N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A resp N/A N/A self execute DeleteRoute N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes CIDR_EXTERNAL_NETWORK N/A N/A N/A self assertEqual True N/A resp N/A return N/A route_table N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_2 N/A N/A route_table N/A routes N/A r N/A r N/A route_table N/A routes N/A N/A r N/A destination_cidr_block N/A fakes CIDR_EXTERNAL_NETWORK N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY route_table N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY route_table update_target N/A route_table_api HOST_TARGET N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_delete_route_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A N/A N/A self assert_execution_error InvalidRouteTableID.NotFound DeleteRoute N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 11.22.33.0/24 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A self assert_execution_error InvalidRoute.NotFound DeleteRoute N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 11.22.33.0/24 N/A N/A N/A self assert_execution_error InvalidParameterValue DeleteRoute N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes CIDR_VPC_1 N/A test_delete_route_rollback N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR DeleteRoute N/A RouteTableId DestinationCidrBlock N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes CIDR_EXTERNAL_NETWORK N/A N/A N/A N/A N/A self db_api update_item assert_any_call N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 N/A N/A tools screen_unexpected_exception_logs N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_enable_vgw_route_propagation N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_VPN_GATEWAY_1 N/A resp N/A N/A self execute EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A self assertEqual N/A return True resp N/A route_table_1_updated N/A N/A tools update_dict N/A fakes DB_ROUTE_TABLE_1 N/A propagating_gateways N/A N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY route_table_1_updated N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY route_table_1_updated update_target N/A route_table_api VPN_TARGET N/A N/A N/A N/A self db_api reset_mock N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A N/A tools update_dict N/A fakes DB_VPN_GATEWAY_2 N/A vpc_id N/A fakes ID_EC2_VPC_1 N/A resp N/A N/A self execute EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self assertEqual N/A return True resp N/A db_route_table_2 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A N/A db_route_table_2 N/A propagating_gateways append N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY db_route_table_2 N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_enable_vgw_route_propagation_idempotent N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPN_GATEWAY_1 N/A resp N/A N/A self execute EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A self assertEqual N/A return True resp N/A N/A N/A self assertFalse N/A N/A N/A self db_api update_item called N/A test_enable_vgw_route_propagation_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_VPN_GATEWAY_1 N/A N/A N/A self assert_execution_error InvalidRouteTableID.NotFound EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A self assert_execution_error InvalidVpnGatewayID.NotFound EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_VPN_GATEWAY_2 N/A N/A N/A self assert_execution_error Gateway.NotAttached EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A N/A tools update_dict N/A fakes DB_VPN_GATEWAY_2 N/A vpc_id N/A fakes ID_EC2_VPC_2 N/A N/A N/A self assert_execution_error Gateway.NotAttached EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A test_enable_vgw_route_propagation_rollback N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_VPN_GATEWAY_1 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR EnableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A N/A N/A self db_api update_item assert_called_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_1 N/A N/A tools screen_unexpected_exception_logs N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_disable_vgw_route_propagation N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPN_GATEWAY_1 N/A resp N/A N/A self execute DisableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A self assertEqual N/A return True resp N/A route_table_1_updated N/A N/A tools purge_dict N/A fakes DB_ROUTE_TABLE_2 N/A propagating_gateways N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY route_table_1_updated N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY route_table_1_updated update_target N/A route_table_api VPN_TARGET N/A N/A N/A N/A self db_api reset_mock N/A N/A N/A routes_updater reset_mock N/A db_route_table_2 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A N/A db_route_table_2 N/A propagating_gateways append N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self set_mock_db_items db_route_table_2 N/A resp N/A N/A self execute DisableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self assertEqual N/A return True resp N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A self assertFalse N/A routes_updater called N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_disable_vgw_route_propagation_idempotent N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A resp N/A N/A self execute DisableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self assertEqual N/A return True resp N/A N/A N/A self assertFalse N/A N/A N/A self db_api update_item called N/A test_disable_vgw_route_propagation_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A N/A N/A self assert_execution_error InvalidRouteTableID.NotFound DisableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A test_disable_vgw_route_propagation_rollbadk N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPN_GATEWAY_1 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR DisableVgwRoutePropagation N/A RouteTableId GatewayId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A N/A N/A self db_api update_item assert_called_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 N/A N/A tools screen_unexpected_exception_logs N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_associate_route_table N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_VPC_1 N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_SUBNET_1 N/A resp N/A N/A self execute AssociateRouteTable N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_1 N/A N/A N/A self assertEqual N/A N/A N/A fakes ID_EC2_SUBNET_1 replace subnet rtbassoc N/A resp N/A associationId N/A subnet_1 N/A N/A tools update_dict N/A fakes DB_SUBNET_1 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_1 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY subnet_1 N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY subnet_1 N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_associate_route_table_invalid_parameters N/A N/A self N/A N/A do_check N/A N/A params error_code N/A N/A N/A N/A N/A self assert_execution_error error_code AssociateRouteTable params N/A N/A N/A N/A self set_mock_db_items N/A N/A do_check N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_1 InvalidRouteTableID.NotFound N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A N/A do_check N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_1 InvalidSubnetID.NotFound N/A id_ec2_subnet_vpc_2 N/A N/A fakes random_ec2_id subnet N/A db_subnet_vpc_2 N/A id os_id vpc_id id_ec2_subnet_vpc_2 N/A N/A fakes random_os_id N/A fakes ID_EC2_VPC_2 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 db_subnet_vpc_2 N/A N/A do_check N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 id_ec2_subnet_vpc_2 InvalidParameterValue N/A subnet_2 N/A N/A tools update_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 subnet_2 N/A N/A do_check N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_2 Resource.AlreadyAssociated N/A test_associate_route_table_rollback N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_VPC_1 N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_SUBNET_1 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR AssociateRouteTable N/A RouteTableId SubnetId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_1 N/A N/A N/A N/A N/A self db_api update_item assert_any_call N/A mock ANY N/A fakes DB_SUBNET_1 N/A N/A tools screen_unexpected_exception_logs N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_replace_route_table_association N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_ROUTE_TABLE_3 N/A fakes DB_SUBNET_2 N/A resp N/A N/A self execute ReplaceRouteTableAssociation N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A self assertEqual N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_2 N/A resp N/A newAssociationId N/A subnet_2 N/A N/A tools update_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY subnet_2 N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY subnet_2 N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_replace_route_table_association_main N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 N/A resp N/A N/A self execute ReplaceRouteTableAssociation N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A self assertEqual N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A resp N/A newAssociationId N/A vpc N/A N/A tools update_dict N/A fakes DB_VPC_1 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY vpc N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 default_associations_only True N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets test_replace_route_table_association_invalid_parameters N/A N/A self N/A N/A do_check N/A N/A params error_code N/A N/A N/A N/A N/A self assert_execution_error error_code ReplaceRouteTableAssociation params N/A N/A N/A N/A self set_mock_db_items N/A N/A do_check N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A fakes ID_EC2_ROUTE_TABLE_1 InvalidRouteTableID.NotFound N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A N/A do_check N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A fakes ID_EC2_ROUTE_TABLE_1 InvalidAssociationID.NotFound N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_3 N/A N/A do_check N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A fakes ID_EC2_ROUTE_TABLE_3 InvalidAssociationID.NotFound N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_3 N/A N/A tools purge_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A N/A do_check N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A fakes ID_EC2_ROUTE_TABLE_3 InvalidAssociationID.NotFound N/A id_ec2_subnet_vpc_2 N/A N/A fakes random_ec2_id subnet N/A db_subnet_vpc_2 N/A id os_id vpc_id route_table_id id_ec2_subnet_vpc_2 N/A N/A fakes random_os_id N/A fakes ID_EC2_VPC_2 N/A N/A fakes random_ec2_id rtb N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 db_subnet_vpc_2 N/A N/A do_check N/A AssociationId RouteTableId N/A N/A ec2utils change_ec2_id_kind id_ec2_subnet_vpc_2 rtbassoc N/A fakes ID_EC2_ROUTE_TABLE_2 InvalidParameterValue N/A test_replace_route_table_association_rollback N/A N/A self routes_updater multiply_routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_ROUTE_TABLE_3 N/A fakes DB_SUBNET_2 N/A fakes DB_VPC_1 N/A N/A multiply_routes_updater side_effect N/A Exception N/A N/A N/A tools ScreeningLogger log_name ec2api.api N/A N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR ReplaceRouteTableAssociation N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A N/A N/A self db_api update_item assert_any_call N/A mock ANY N/A fakes DB_VPC_1 N/A N/A N/A N/A self db_api reset_mock N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A tools ScreeningLogger log_name ec2api.api N/A N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR ReplaceRouteTableAssociation N/A AssociationId RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A N/A N/A self db_api update_item assert_any_call N/A mock ANY N/A fakes DB_SUBNET_2 N/A N/A N/A mock patch ec2api.api.route_table._update_routes_in_associated_subnets N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_disassociate_route_table N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_3 N/A fakes DB_SUBNET_2 N/A fakes DB_VPC_1 N/A resp N/A N/A self execute DisassociateRouteTable N/A AssociationId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A N/A N/A self assertEqual True N/A resp N/A return N/A subnet_1 N/A N/A tools purge_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A N/A N/A N/A N/A self db_api update_item assert_called_once_with N/A mock ANY subnet_1 N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A mock ANY subnet_1 N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_disassociate_route_table_invalid_parameter N/A N/A self N/A N/A do_check N/A N/A params error_code N/A N/A N/A N/A N/A self assert_execution_error error_code DisassociateRouteTable params N/A N/A N/A N/A self set_mock_db_items N/A N/A do_check N/A AssociationId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 InvalidAssociationID.NotFound N/A N/A N/A self set_mock_db_items N/A N/A tools purge_dict N/A fakes DB_SUBNET_1 N/A route_table_id N/A N/A do_check N/A AssociationId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_2 InvalidAssociationID.NotFound N/A N/A N/A self set_mock_db_items N/A fakes DB_VPC_1 N/A N/A do_check N/A AssociationId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 InvalidParameterValue N/A test_disassociate_route_table_rollback N/A N/A self routes_updater N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_3 N/A fakes DB_SUBNET_2 N/A fakes DB_VPC_1 N/A N/A routes_updater side_effect N/A Exception N/A N/A N/A self assert_execution_error N/A self ANY_EXECUTE_ERROR DisassociateRouteTable N/A AssociationId N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_3 N/A N/A N/A N/A N/A self db_api update_item assert_any_call N/A mock ANY N/A fakes DB_SUBNET_2 N/A N/A tools screen_unexpected_exception_logs N/A N/A mock patch ec2api.api.route_table._update_subnet_routes test_delete_route_table N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 N/A fakes DB_SUBNET_1 N/A fakes DB_SUBNET_2 N/A resp N/A N/A self execute DeleteRouteTable N/A RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A self assertEqual True N/A resp N/A return N/A N/A N/A N/A N/A self db_api delete_item assert_called_once_with N/A mock ANY N/A fakes ID_EC2_ROUTE_TABLE_2 N/A test_delete_route_table_invalid_parameters N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A N/A N/A self assert_execution_error InvalidRouteTableID.NotFound DeleteRouteTable N/A RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_VPC_1 N/A N/A N/A self assert_execution_error DependencyViolation DeleteRouteTable N/A RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_1 N/A subnet N/A N/A tools update_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_2 N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_VPC_1 subnet N/A N/A N/A self assert_execution_error DependencyViolation DeleteRouteTable N/A RouteTableId N/A fakes ID_EC2_ROUTE_TABLE_2 N/A test_describe_route_tables N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_ROUTE_TABLE_1 N/A fakes DB_ROUTE_TABLE_2 N/A fakes DB_ROUTE_TABLE_3 N/A fakes DB_SUBNET_1 N/A fakes DB_SUBNET_2 N/A fakes DB_VPC_1 N/A fakes DB_VPC_2 N/A fakes DB_IGW_1 N/A fakes DB_IGW_2 N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A fakes DB_INSTANCE_1 N/A fakes DB_VPN_GATEWAY_1 N/A fakes DB_VPN_CONNECTION_1 N/A N/A N/A N/A N/A self nova servers get return_value N/A N/A mock NonCallableMock status ACTIVE N/A resp N/A N/A self execute DescribeRouteTables N/A N/A N/A N/A self assertThat N/A resp N/A routeTableSet N/A N/A matchers ListMatches N/A N/A fakes EC2_ROUTE_TABLE_1 N/A fakes EC2_ROUTE_TABLE_2 N/A fakes EC2_ROUTE_TABLE_3 orderless_lists True N/A resp N/A N/A self execute DescribeRouteTables N/A RouteTableId.1 N/A fakes ID_EC2_ROUTE_TABLE_1 N/A N/A N/A self assertThat N/A resp N/A routeTableSet N/A N/A matchers ListMatches N/A N/A fakes EC2_ROUTE_TABLE_1 N/A N/A N/A N/A N/A self db_api get_items_by_ids assert_called_once_with N/A mock ANY N/A set N/A N/A fakes ID_EC2_ROUTE_TABLE_1 N/A N/A N/A self check_filtering DescribeRouteTables routeTableSet N/A N/A association.route-table-association-id N/A fakes ID_EC2_ROUTE_TABLE_ASSOCIATION_1 N/A association.route-table-id N/A fakes ID_EC2_ROUTE_TABLE_1 N/A association.subnet-id N/A fakes ID_EC2_SUBNET_2 N/A association.main True N/A route-table-id N/A fakes ID_EC2_ROUTE_TABLE_1 N/A route.destination-cidr-block N/A fakes CIDR_EXTERNAL_NETWORK N/A route.gateway-id local N/A route.instance-id N/A fakes ID_EC2_INSTANCE_1 N/A route.origin CreateRouteTable N/A route.state active N/A vpc-id N/A fakes ID_EC2_VPC_1 N/A N/A N/A self check_tag_support DescribeRouteTables routeTableSet N/A fakes ID_EC2_ROUTE_TABLE_1 routeTableId N/A test_describe_route_tables_variations N/A N/A self N/A N/A N/A igw_1 N/A N/A tools purge_dict N/A fakes DB_IGW_1 N/A vpc_id N/A igw_2 N/A N/A tools update_dict N/A fakes DB_IGW_2 N/A vpc_id N/A fakes ID_EC2_VPC_2 N/A subnet_1 N/A N/A tools update_dict N/A fakes DB_SUBNET_1 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_1 N/A subnet_2 N/A N/A tools update_dict N/A fakes DB_SUBNET_2 N/A route_table_id N/A fakes ID_EC2_ROUTE_TABLE_2 N/A route_table_1 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table_1 N/A routes append N/A destination_cidr_block gateway_id 0.0.0.0/0 N/A fakes ID_EC2_IGW_2 N/A N/A N/A N/A route_table_1 N/A routes append N/A destination_cidr_block network_interface_id 192.168.77.0/24 N/A fakes ID_EC2_NETWORK_INTERFACE_1 N/A deleted_eni_id N/A N/A fakes random_ec2_id eni N/A N/A N/A N/A route_table_1 N/A routes append N/A destination_cidr_block network_interface_id 192.168.99.0/24 deleted_eni_id N/A route_table_2 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_2 N/A N/A N/A N/A route_table_2 N/A routes append N/A destination_cidr_block network_interface_id 192.168.88.0/24 N/A fakes ID_EC2_NETWORK_INTERFACE_2 N/A N/A N/A N/A route_table_2 N/A routes append N/A destination_cidr_block gateway_id 192.168.111.0/24 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A N/A N/A N/A route_table_2 N/A routes append N/A destination_cidr_block gateway_id 192.168.122.0/24 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A N/A self set_mock_db_items route_table_1 route_table_2 N/A fakes DB_VPC_1 N/A fakes DB_VPC_2 igw_1 igw_2 subnet_1 subnet_2 N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A fakes DB_VPN_GATEWAY_2 N/A N/A N/A N/A N/A self nova servers get return_value N/A N/A mock NonCallableMock status DOWN N/A resp N/A N/A self execute DescribeRouteTables N/A N/A ec2_route_table_1 N/A N/A copy deepcopy N/A fakes EC2_ROUTE_TABLE_1 N/A N/A N/A N/A ec2_route_table_1 N/A routeSet append N/A destinationCidrBlock gatewayId state origin 0.0.0.0/0 N/A fakes ID_EC2_IGW_2 blackhole CreateRoute N/A N/A N/A N/A ec2_route_table_1 N/A routeSet append N/A destinationCidrBlock networkInterfaceId state origin 192.168.77.0/24 N/A fakes ID_EC2_NETWORK_INTERFACE_1 blackhole CreateRoute N/A N/A N/A N/A ec2_route_table_1 N/A routeSet append N/A destinationCidrBlock networkInterfaceId state origin 192.168.99.0/24 deleted_eni_id blackhole CreateRoute N/A N/A N/A N/A ec2_route_table_1 N/A associationSet append N/A routeTableAssociationId routeTableId subnetId main N/A N/A N/A fakes ID_EC2_SUBNET_1 replace subnet rtbassoc N/A fakes ID_EC2_ROUTE_TABLE_1 N/A fakes ID_EC2_SUBNET_1 False N/A ec2_route_table_2 N/A N/A copy deepcopy N/A fakes EC2_ROUTE_TABLE_2 N/A N/A N/A N/A ec2_route_table_2 N/A routeSet N/A 1 N/A state blackhole N/A N/A N/A ec2_route_table_2 N/A routeSet N/A 2 N/A N/A N/A N/A ec2_route_table_2 N/A routeSet N/A 2 N/A state blackhole N/A N/A N/A N/A ec2_route_table_2 N/A routeSet append N/A destinationCidrBlock networkInterfaceId instanceId instanceOwnerId state origin 192.168.88.0/24 N/A fakes ID_EC2_NETWORK_INTERFACE_2 N/A fakes ID_EC2_INSTANCE_1 N/A fakes ID_OS_PROJECT blackhole CreateRoute N/A N/A N/A N/A ec2_route_table_2 N/A routeSet append N/A destinationCidrBlock gatewayId state origin 192.168.111.0/24 N/A fakes ID_EC2_VPN_GATEWAY_1 blackhole CreateRoute N/A N/A N/A N/A ec2_route_table_2 N/A routeSet append N/A destinationCidrBlock gatewayId state origin 192.168.122.0/24 N/A fakes ID_EC2_VPN_GATEWAY_2 blackhole CreateRoute N/A N/A ec2_route_table_2 N/A associationSet N/A N/A routeTableAssociationId routeTableId subnetId main N/A N/A N/A fakes ID_EC2_SUBNET_2 replace subnet rtbassoc N/A fakes ID_EC2_ROUTE_TABLE_2 N/A fakes ID_EC2_SUBNET_2 False N/A N/A N/A self assertThat N/A resp N/A routeTableSet N/A N/A matchers ListMatches N/A ec2_route_table_1 ec2_route_table_2 N/A test_format_route_table N/A N/A self N/A N/A N/A id_db_ec2_vpn_gateway_3 N/A N/A fakes random_ec2_id vgw N/A db_route_table_1 N/A N/A tools update_dict N/A fakes DB_ROUTE_TABLE_1 N/A propagating_gateways N/A N/A fakes ID_EC2_VPN_GATEWAY_1 N/A fakes ID_EC2_VPN_GATEWAY_2 id_db_ec2_vpn_gateway_3 N/A N/A N/A N/A db_route_table_1 N/A routes extend N/A N/A gateway_id destination_cidr_block N/A fakes ID_EC2_VPN_GATEWAY_1 N/A fakes CIDR_VPN_1_STATIC N/A gateway_id destination_cidr_block N/A fakes ID_EC2_VPN_GATEWAY_2 192.168.201.0/24 N/A vpn_connection_3 N/A N/A tools update_dict N/A fakes DB_VPN_CONNECTION_1 N/A customer_gateway_id N/A N/A fakes random_ec2_id cgw N/A N/A N/A N/A vpn_connection_3 N/A cidrs append 192.168.120.0/24 N/A ec2_route_table_1 N/A N/A tools patch_dict N/A fakes EC2_ROUTE_TABLE_1 N/A propagatingVgwSet N/A N/A gatewayId N/A fakes ID_EC2_VPN_GATEWAY_1 N/A gatewayId N/A fakes ID_EC2_VPN_GATEWAY_2 N/A gatewayId id_db_ec2_vpn_gateway_3 N/A associationSet N/A N/A N/A N/A ec2_route_table_1 N/A routeSet extend N/A N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_1 N/A fakes CIDR_VPN_1_STATIC CreateRoute active N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_2 192.168.201.0/24 CreateRoute blackhole N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_1 N/A fakes CIDR_VPN_1_PROPAGATED_1 EnableVgwRoutePropagation active N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_1 192.168.120.0/24 EnableVgwRoutePropagation active N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_2 N/A fakes CIDR_VPN_2_PROPAGATED_1 EnableVgwRoutePropagation blackhole N/A gatewayId destinationCidrBlock origin state N/A fakes ID_EC2_VPN_GATEWAY_2 N/A fakes CIDR_VPN_2_PROPAGATED_2 EnableVgwRoutePropagation blackhole N/A N/A N/A self assertThat N/A N/A route_table_api _format_route_table N/A N/A base create_context db_route_table_1 gateways N/A N/A gw N/A id gw N/A gw N/A N/A fakes DB_VPN_GATEWAY_1 N/A fakes DB_VPN_GATEWAY_2 N/A fakes DB_IGW_1 vpn_connections_by_gateway_id N/A N/A fakes ID_EC2_VPN_GATEWAY_1 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A N/A fakes DB_VPN_CONNECTION_1 vpn_connection_3 N/A N/A fakes DB_VPN_CONNECTION_2 N/A N/A matchers DictMatches ec2_route_table_1 orderless_lists True verbose True N/A test_get_subnet_host_routes_and_gateway_ip N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_NETWORK_INTERFACE_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A fakes DB_IGW_1 N/A fakes DB_VPN_GATEWAY_1 N/A fakes DB_VPN_GATEWAY_2 N/A fakes DB_VPN_CONNECTION_1 N/A route_table_1 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A N/A route_table_1 N/A routes extend N/A N/A destination_cidr_block gateway_id 192.168.111.0/24 N/A fakes ID_EC2_VPN_GATEWAY_1 N/A destination_cidr_block gateway_id 192.168.222.0/24 N/A fakes ID_EC2_VPN_GATEWAY_2 N/A destination_cidr_block gateway_id 0.0.0.0/0 N/A N/A fakes random_ec2_id igw N/A destination_cidr_block gateway_id 192.168.200.0/24 N/A N/A fakes random_ec2_id vgw N/A N/A host_routes gateway_ip N/A N/A route_table_api _get_subnet_host_routes_and_gateway_ip N/A mock ANY route_table_1 N/A fakes CIDR_SUBNET_1 N/A N/A N/A self assertThat host_routes N/A N/A matchers ListMatches N/A N/A destination nexthop N/A fakes CIDR_VPC_1 N/A fakes IP_GATEWAY_SUBNET_1 N/A destination nexthop 192.168.111.0/24 N/A fakes IP_GATEWAY_SUBNET_1 N/A destination nexthop 192.168.222.0/24 127.0.0.1 N/A destination nexthop 192.168.200.0/24 127.0.0.1 N/A N/A N/A self assertEqual None gateway_ip N/A N/A host_routes gateway_ip N/A N/A route_table_api _get_subnet_host_routes_and_gateway_ip N/A mock ANY N/A fakes DB_ROUTE_TABLE_2 N/A fakes CIDR_SUBNET_1 N/A N/A N/A self assertEqual N/A fakes IP_GATEWAY_SUBNET_1 gateway_ip N/A N/A N/A self assertThat host_routes N/A N/A matchers ListMatches N/A N/A destination nexthop N/A fakes CIDR_VPC_1 N/A fakes IP_GATEWAY_SUBNET_1 N/A destination nexthop N/A fakes CIDR_EXTERNAL_NETWORK N/A fakes IP_NETWORK_INTERFACE_2 N/A destination nexthop 0.0.0.0/0 N/A fakes IP_GATEWAY_SUBNET_1 N/A destination nexthop N/A fakes CIDR_VPN_1_PROPAGATED_1 N/A fakes IP_GATEWAY_SUBNET_1 N/A N/A N/A self assertEqual N/A fakes IP_GATEWAY_SUBNET_1 gateway_ip N/A test_update_host_routes N/A N/A self destinations_getter routes_getter N/A N/A N/A N/A N/A N/A self neutron show_subnet side_effect N/A N/A tools get_by_1st_arg_getter N/A N/A fakes ID_OS_SUBNET_1 N/A fakes ID_OS_SUBNET_2 N/A subnet N/A fakes OS_SUBNET_1 N/A subnet N/A fakes OS_SUBNET_2 N/A N/A routes_getter side_effect N/A N/A fake_routes N/A fakes IP_GATEWAY_SUBNET_1 N/A fake_routes None N/A N/A destinations_getter return_value N/A fake objects N/A N/A N/A route_table_api _update_host_routes N/A N/A base create_context N/A self neutron N/A N/A common OnCrashCleaner N/A fakes DB_ROUTE_TABLE_1 N/A N/A fakes DB_SUBNET_1 N/A fakes DB_SUBNET_2 N/A N/A N/A destinations_getter assert_called_once_with N/A mock ANY N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A self assertEqual 2 N/A routes_getter call_count N/A N/A N/A routes_getter assert_any_call N/A mock ANY N/A fakes DB_ROUTE_TABLE_1 N/A fakes CIDR_SUBNET_1 N/A fake objects N/A N/A N/A routes_getter assert_any_call N/A mock ANY N/A fakes DB_ROUTE_TABLE_1 N/A fakes CIDR_SUBNET_2 N/A fake objects N/A N/A N/A self assertEqual 2 N/A N/A N/A self neutron update_subnet call_count N/A N/A N/A N/A N/A self neutron update_subnet assert_any_call N/A fakes ID_OS_SUBNET_1 N/A subnet N/A host_routes gateway_ip fake_routes N/A fakes IP_GATEWAY_SUBNET_1 N/A N/A N/A N/A N/A self neutron update_subnet assert_any_call N/A fakes ID_OS_SUBNET_2 N/A subnet N/A host_routes gateway_ip fake_routes None N/A N/A N/A N/A self neutron reset_mock N/A N/A routes_getter side_effect None N/A N/A routes_getter return_value N/A fake_routes N/A fakes IP_GATEWAY_SUBNET_2 N/A N/A N/A N/A N/A common OnCrashCleaner cleaner N/A N/A N/A N/A route_table_api _update_host_routes N/A N/A base create_context N/A self neutron cleaner N/A fakes DB_ROUTE_TABLE_1 N/A N/A fakes DB_SUBNET_1 N/A N/A Exception fake_exception N/A N/A N/A Exception N/A ex N/A N/A N/A N/A str ex fake_exception N/A N/A N/A N/A N/A N/A N/A self neutron update_subnet assert_any_call N/A fakes ID_OS_SUBNET_1 N/A subnet N/A host_routes gateway_ip N/A N/A fakes OS_SUBNET_1 N/A host_routes N/A fakes IP_GATEWAY_SUBNET_1 N/A N/A N/A mock patch ec2api.api.route_table._get_subnet_host_routes_and_gateway_ip N/A N/A mock patch ec2api.api.route_table._get_active_route_destinations test_update_routes_in_associated_subnets N/A N/A self routes_updater update_vpn_routes N/A N/A N/A subnet_default_rtb N/A id vpc_id N/A N/A fakes random_ec2_id subnet N/A fakes ID_EC2_VPC_1 N/A subnet_rtb_1 N/A id vpc_id route_table_id N/A N/A fakes random_ec2_id subnet N/A fakes ID_EC2_VPC_1 N/A fakes ID_EC2_ROUTE_TABLE_1 N/A subnet_rtb_2 N/A id vpc_id route_table_id N/A N/A fakes random_ec2_id subnet N/A fakes ID_EC2_VPC_1 N/A fakes ID_EC2_ROUTE_TABLE_2 N/A subnet_vpc_2 N/A id vpc_id N/A N/A fakes random_ec2_id subnet N/A fakes ID_EC2_VPC_2 N/A N/A N/A self set_mock_db_items subnet_default_rtb subnet_rtb_1 subnet_rtb_2 subnet_vpc_2 N/A fakes DB_VPC_1 do_check N/A N/A rtb subnets default_associations_only host_only N/A None None N/A N/A N/A N/A N/A self db_api reset_mock N/A N/A N/A routes_updater reset_mock N/A N/A N/A update_vpn_routes reset_mock N/A N/A N/A route_table_api _update_routes_in_associated_subnets N/A N/A base create_context fake_cleaner rtb default_associations_only default_associations_only update_target N/A host_only N/A route_table_api HOST_TARGET None N/A N/A N/A N/A N/A self db_api get_items assert_any_call N/A mock ANY subnet N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner rtb subnets N/A host_only N/A N/A N/A N/A self assertFalse N/A update_vpn_routes called N/A N/A N/A N/A update_vpn_routes assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner rtb subnets N/A N/A N/A do_check N/A fakes DB_ROUTE_TABLE_2 N/A subnet_rtb_2 host_only True N/A N/A N/A N/A N/A self db_api get_item_by_id assert_called_once_with N/A mock ANY N/A fakes ID_EC2_VPC_1 N/A N/A do_check N/A fakes DB_ROUTE_TABLE_1 N/A subnet_default_rtb subnet_rtb_1 N/A N/A N/A N/A N/A self db_api get_item_by_id assert_called_once_with N/A mock ANY N/A fakes ID_EC2_VPC_1 N/A N/A do_check N/A fakes DB_ROUTE_TABLE_1 N/A subnet_default_rtb default_associations_only True N/A N/A N/A self assertFalse N/A N/A N/A self db_api get_item_by_id called N/A N/A N/A routes_updater reset_mock N/A N/A N/A update_vpn_routes reset_mock N/A N/A N/A route_table_api _update_routes_in_associated_subnets N/A N/A mock MagicMock fake_cleaner N/A fakes DB_ROUTE_TABLE_1 update_target N/A route_table_api VPN_TARGET N/A N/A N/A routes_updater assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner N/A fakes DB_ROUTE_TABLE_1 N/A subnet_default_rtb subnet_rtb_1 N/A N/A N/A update_vpn_routes assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner N/A fakes DB_ROUTE_TABLE_1 N/A subnet_default_rtb subnet_rtb_1 N/A N/A N/A mock patch ec2api.api.vpn_connection._update_vpn_routes N/A N/A mock patch ec2api.api.route_table._update_host_routes test_get_router_destinations N/A N/A self N/A N/A N/A N/A N/A self set_mock_db_items N/A fakes DB_IGW_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A route_table_2 N/A N/A copy deepcopy N/A fakes DB_ROUTE_TABLE_2 N/A fake_igw_id N/A N/A fakes random_ec2_id igw N/A fake_vgw_id N/A N/A fakes random_ec2_id vgw N/A fake_eni_id N/A N/A fakes random_ec2_id eni N/A N/A N/A N/A route_table_2 N/A routes extend N/A N/A gateway_id destination_cidr_block fake_igw_id fake N/A gateway_id destination_cidr_block fake_vgw_id fake N/A network_interface_id destination_cidr_block fake_eni_id fake N/A host_routes N/A N/A route_table_api _get_active_route_destinations fake_context route_table_2 N/A N/A N/A self assertThat host_routes N/A N/A matchers DictMatches N/A N/A fakes ID_EC2_IGW_1 N/A fakes ID_EC2_NETWORK_INTERFACE_2 N/A fakes DB_IGW_1 N/A fakes DB_NETWORK_INTERFACE_2 N/A N/A N/A N/A N/A self db_api get_items_by_ids assert_called_once_with N/A mock ANY N/A N/A fakes ID_EC2_NETWORK_INTERFACE_2 N/A fakes ID_EC2_IGW_1 fake_igw_id fake_vgw_id fake_eni_id N/A fakes ID_EC2_VPN_GATEWAY_1 N/A test_update_subnet_routes N/A N/A self host_routes_updater update_vpn_routes N/A N/A N/A N/A N/A route_table_api _update_subnet_routes N/A N/A base create_context fake_cleaner N/A fakes DB_SUBNET_1 N/A fakes DB_ROUTE_TABLE_1 N/A N/A N/A host_routes_updater assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner N/A fakes DB_ROUTE_TABLE_1 N/A N/A fakes DB_SUBNET_1 N/A N/A N/A update_vpn_routes assert_called_once_with N/A mock ANY N/A self neutron fake_cleaner N/A fakes DB_ROUTE_TABLE_1 N/A N/A fakes DB_SUBNET_1 N/A N/A N/A mock patch ec2api.api.vpn_connection._update_vpn_routes N/A N/A mock patch ec2api.api.route_table._update_host_routes N/A RouteTableValidatorTestCase N/A N/A test_base BaseTestCase N/A test_validate_igw_or_vgw_id N/A N/A self N/A N/A N/A validator N/A N/A route_table_api Validator N/A N/A N/A validator igw_or_vgw_id N/A N/A fakes random_ec2_id igw N/A N/A N/A validator igw_or_vgw_id N/A N/A fakes random_ec2_id vgw N/A invalid_ids N/A 1234 a-1111 i-1111 i-rrr foobar N/A N/A fakes random_ec2_id eni N/A N/A fakes random_ec2_id i N/A N/A fakes random_ec2_id rtb N/A N/A fakes random_ec2_id vpn N/A id invalid_ids N/A N/A N/A N/A self assertRaises N/A exception InvalidParameterValue N/A validator igw_or_vgw_id id N/A N/A