Module ImportFrom alias alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Dict NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Dict Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Dict Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Dict Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr 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 AttributeLoad NameLoad attr Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str keyword Call NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list
N/A __future__ absolute_import unicode_literals N/A errno N/A logging N/A socket N/A unittest mock Mock call patch sentinel N/A pykka mopidy.internal network mopidy.internal.gi GObject tests any_int any_unicode ConnectionTest N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self mock N/A Mock spec N/A network Connection N/A test_init_ensure_nonblocking_io N/A N/A self N/A N/A N/A sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection __init__ N/A self mock N/A Mock N/A sock N/A N/A sentinel host N/A sentinel port N/A sentinel timeout N/A N/A N/A N/A sock setblocking assert_called_once_with False N/A test_init_starts_actor N/A N/A self N/A N/A N/A protocol N/A Mock spec N/A network LineProtocol N/A N/A N/A N/A network Connection __init__ N/A self mock protocol N/A N/A Mock N/A N/A sentinel host N/A sentinel port N/A sentinel timeout N/A N/A N/A N/A protocol start assert_called_once_with N/A self mock N/A test_init_enables_recv_and_timeout N/A N/A self N/A N/A N/A N/A N/A N/A network Connection __init__ N/A self mock N/A Mock N/A N/A Mock N/A N/A sentinel host N/A sentinel port N/A sentinel timeout N/A N/A N/A N/A N/A self mock enable_recv assert_called_once_with N/A N/A N/A N/A N/A self mock enable_timeout assert_called_once_with N/A test_init_stores_values_in_attributes N/A N/A self N/A N/A N/A addr N/A N/A sentinel host N/A sentinel port N/A protocol N/A Mock spec N/A network LineProtocol N/A protocol_kwargs N/A N/A sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection __init__ N/A self mock protocol protocol_kwargs sock addr N/A sentinel timeout N/A N/A N/A self assertEqual sock N/A N/A self mock sock N/A N/A N/A self assertEqual protocol N/A N/A self mock protocol N/A N/A N/A self assertEqual protocol_kwargs N/A N/A self mock protocol_kwargs N/A N/A N/A self assertEqual N/A sentinel timeout N/A N/A self mock timeout N/A N/A N/A self assertEqual N/A sentinel host N/A N/A self mock host N/A N/A N/A self assertEqual N/A sentinel port N/A N/A self mock port N/A test_init_handles_ipv6_addr N/A N/A self N/A N/A N/A addr N/A N/A sentinel host N/A sentinel port N/A sentinel flowinfo N/A sentinel scopeid N/A protocol N/A Mock spec N/A network LineProtocol N/A protocol_kwargs N/A N/A sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection __init__ N/A self mock protocol protocol_kwargs sock addr N/A sentinel timeout N/A N/A N/A self assertEqual N/A sentinel host N/A N/A self mock host N/A N/A N/A self assertEqual N/A sentinel port N/A N/A self mock port N/A test_stop_disables_recv_send_and_timeout N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A self mock disable_timeout assert_called_once_with N/A N/A N/A N/A N/A self mock disable_recv assert_called_once_with N/A N/A N/A N/A N/A self mock disable_send assert_called_once_with N/A test_stop_closes_socket N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A N/A self mock sock close assert_called_once_with N/A test_stop_closes_socket_error N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock close side_effect N/A socket error N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A N/A self mock sock close assert_called_once_with N/A test_stop_stops_actor N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A N/A self mock actor_ref stop assert_called_once_with block False N/A test_stop_handles_actor_already_being_stopped N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A N/A N/A self mock actor_ref stop side_effect N/A N/A pykka ActorDeadError N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A N/A self mock actor_ref stop assert_called_once_with block False N/A test_stop_sets_stopping_to_true N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A self assertEqual True N/A N/A self mock stopping N/A test_stop_does_not_proceed_when_already_stopping N/A N/A self N/A N/A N/A N/A N/A self mock stopping True N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self mock actor_ref stop call_count N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self mock sock close call_count N/A test_stop_logs_reason N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A N/A network logger log assert_called_once_with N/A logging DEBUG N/A sentinel reason N/A N/A N/A patch object N/A network logger log new N/A Mock test_stop_logs_reason_with_level N/A N/A self N/A N/A N/A N/A N/A self mock stopping False N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason level N/A sentinel level N/A N/A N/A N/A N/A network logger log assert_called_once_with N/A sentinel level N/A sentinel reason N/A N/A N/A patch object N/A network logger log new N/A Mock test_stop_logs_that_it_is_calling_itself N/A N/A self N/A N/A N/A N/A N/A self mock stopping True N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection stop N/A self mock N/A sentinel reason N/A N/A N/A N/A network logger log any_int any_unicode N/A N/A N/A patch object N/A network logger log new N/A Mock test_enable_recv_registers_with_gobject N/A N/A self N/A N/A N/A N/A N/A self mock recv_id None N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock fileno return_value N/A sentinel fileno N/A N/A N/A GObject io_add_watch return_value N/A sentinel tag N/A N/A N/A N/A network Connection enable_recv N/A self mock N/A N/A N/A N/A GObject io_add_watch assert_called_once_with N/A sentinel fileno N/A N/A N/A GObject IO_IN N/A GObject IO_ERR N/A GObject IO_HUP N/A N/A self mock recv_callback N/A N/A N/A self assertEqual N/A sentinel tag N/A N/A self mock recv_id N/A N/A N/A patch object GObject io_add_watch new N/A Mock test_enable_recv_already_registered N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A self mock recv_id N/A sentinel tag N/A N/A N/A N/A network Connection enable_recv N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject io_add_watch call_count N/A N/A N/A patch object GObject io_add_watch new N/A Mock test_enable_recv_does_not_change_tag N/A N/A self N/A N/A N/A N/A N/A self mock recv_id N/A sentinel tag N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection enable_recv N/A self mock N/A N/A N/A self assertEqual N/A sentinel tag N/A N/A self mock recv_id N/A test_disable_recv_deregisters N/A N/A self N/A N/A N/A N/A N/A self mock recv_id N/A sentinel tag N/A N/A N/A N/A network Connection disable_recv N/A self mock N/A N/A N/A N/A GObject source_remove assert_called_once_with N/A sentinel tag N/A N/A N/A self assertEqual None N/A N/A self mock recv_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_disable_recv_already_deregistered N/A N/A self N/A N/A N/A N/A N/A self mock recv_id None N/A N/A N/A N/A network Connection disable_recv N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject source_remove call_count N/A N/A N/A self assertEqual None N/A N/A self mock recv_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_enable_recv_on_closed_socket N/A N/A self N/A N/A N/A N/A N/A self mock recv_id None N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock fileno side_effect N/A N/A socket error N/A errno EBADF N/A N/A N/A N/A network Connection enable_recv N/A self mock N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A N/A N/A self assertEqual None N/A N/A self mock recv_id N/A test_enable_send_registers_with_gobject N/A N/A self N/A N/A N/A N/A N/A self mock send_id None N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock fileno return_value N/A sentinel fileno N/A N/A N/A GObject io_add_watch return_value N/A sentinel tag N/A N/A N/A N/A network Connection enable_send N/A self mock N/A N/A N/A N/A GObject io_add_watch assert_called_once_with N/A sentinel fileno N/A N/A N/A GObject IO_OUT N/A GObject IO_ERR N/A GObject IO_HUP N/A N/A self mock send_callback N/A N/A N/A self assertEqual N/A sentinel tag N/A N/A self mock send_id N/A N/A N/A patch object GObject io_add_watch new N/A Mock test_enable_send_already_registered N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A self mock send_id N/A sentinel tag N/A N/A N/A N/A network Connection enable_send N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject io_add_watch call_count N/A N/A N/A patch object GObject io_add_watch new N/A Mock test_enable_send_does_not_change_tag N/A N/A self N/A N/A N/A N/A N/A self mock send_id N/A sentinel tag N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A network Connection enable_send N/A self mock N/A N/A N/A self assertEqual N/A sentinel tag N/A N/A self mock send_id N/A test_disable_send_deregisters N/A N/A self N/A N/A N/A N/A N/A self mock send_id N/A sentinel tag N/A N/A N/A N/A network Connection disable_send N/A self mock N/A N/A N/A N/A GObject source_remove assert_called_once_with N/A sentinel tag N/A N/A N/A self assertEqual None N/A N/A self mock send_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_disable_send_already_deregistered N/A N/A self N/A N/A N/A N/A N/A self mock send_id None N/A N/A N/A N/A network Connection disable_send N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject source_remove call_count N/A N/A N/A self assertEqual None N/A N/A self mock send_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_enable_send_on_closed_socket N/A N/A self N/A N/A N/A N/A N/A self mock send_id None N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock fileno side_effect N/A N/A socket error N/A errno EBADF N/A N/A N/A N/A network Connection enable_send N/A self mock N/A N/A N/A self assertEqual None N/A N/A self mock send_id N/A test_enable_timeout_clears_existing_timeouts N/A N/A self N/A N/A N/A N/A N/A self mock timeout 10 N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A N/A N/A self mock disable_timeout assert_called_once_with N/A N/A N/A patch object GObject timeout_add_seconds new N/A Mock test_enable_timeout_add_gobject_timeout N/A N/A self N/A N/A N/A N/A N/A self mock timeout 10 N/A N/A N/A GObject timeout_add_seconds return_value N/A sentinel tag N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A N/A GObject timeout_add_seconds assert_called_once_with 10 N/A N/A self mock timeout_callback N/A N/A N/A self assertEqual N/A sentinel tag N/A N/A self mock timeout_id N/A N/A N/A patch object GObject timeout_add_seconds new N/A Mock test_enable_timeout_does_not_add_timeout N/A N/A self N/A N/A N/A N/A N/A self mock timeout 0 N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject timeout_add_seconds call_count N/A N/A N/A self mock timeout -1 N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject timeout_add_seconds call_count N/A N/A N/A self mock timeout None N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject timeout_add_seconds call_count N/A N/A N/A patch object GObject timeout_add_seconds new N/A Mock test_enable_timeout_does_not_call_disable_for_invalid_timeout N/A N/A self N/A N/A N/A N/A N/A self mock timeout 0 N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock disable_timeout call_count N/A N/A N/A self mock timeout -1 N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock disable_timeout call_count N/A N/A N/A self mock timeout None N/A N/A N/A N/A network Connection enable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock disable_timeout call_count N/A test_disable_timeout_deregisters N/A N/A self N/A N/A N/A N/A N/A self mock timeout_id N/A sentinel tag N/A N/A N/A N/A network Connection disable_timeout N/A self mock N/A N/A N/A N/A GObject source_remove assert_called_once_with N/A sentinel tag N/A N/A N/A self assertEqual None N/A N/A self mock timeout_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_disable_timeout_already_deregistered N/A N/A self N/A N/A N/A N/A N/A self mock timeout_id None N/A N/A N/A N/A network Connection disable_timeout N/A self mock N/A N/A N/A self assertEqual 0 N/A N/A GObject source_remove call_count N/A N/A N/A self assertEqual None N/A N/A self mock timeout_id N/A N/A N/A patch object GObject source_remove new N/A Mock test_queue_send_acquires_and_releases_lock N/A N/A self N/A N/A N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A self mock send_buffer N/A N/A N/A N/A network Connection queue_send N/A self mock data N/A N/A N/A N/A N/A N/A self mock send_lock acquire assert_called_once_with True N/A N/A N/A N/A N/A N/A self mock send_lock release assert_called_once_with N/A test_queue_send_calls_send N/A N/A self N/A N/A N/A N/A N/A self mock send_buffer N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A self mock send return_value N/A N/A N/A N/A network Connection queue_send N/A self mock data N/A N/A N/A N/A N/A self mock send assert_called_once_with data N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock enable_send call_count N/A N/A N/A self assertEqual N/A N/A self mock send_buffer N/A test_queue_send_calls_enable_send_for_partial_send N/A N/A self N/A N/A N/A N/A N/A self mock send_buffer N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A self mock send return_value ta N/A N/A N/A N/A network Connection queue_send N/A self mock data N/A N/A N/A N/A N/A self mock send assert_called_once_with data N/A N/A N/A N/A N/A self mock enable_send assert_called_once_with N/A N/A N/A self assertEqual ta N/A N/A self mock send_buffer N/A test_queue_send_calls_send_with_existing_buffer N/A N/A self N/A N/A N/A N/A N/A self mock send_buffer foo N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A self mock send return_value N/A N/A N/A N/A network Connection queue_send N/A self mock bar N/A N/A N/A N/A N/A self mock send assert_called_once_with foobar N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock enable_send call_count N/A N/A N/A self assertEqual N/A N/A self mock send_buffer N/A test_recv_callback_respects_io_err N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A N/A GObject IO_IN N/A GObject IO_ERR N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_recv_callback_respects_io_hup N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A N/A GObject IO_IN N/A GObject IO_HUP N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_recv_callback_respects_io_hup_and_io_err N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A N/A N/A GObject IO_IN N/A GObject IO_HUP N/A GObject IO_ERR N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_recv_callback_sends_data_to_actor N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock recv return_value data N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A N/A self mock actor_ref tell assert_called_once_with N/A received data N/A test_recv_callback_handles_dead_actors N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock recv return_value data N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A N/A N/A self mock actor_ref tell side_effect N/A N/A pykka ActorDeadError N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_recv_callback_gets_no_data N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock recv return_value N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A self assertEqual N/A N/A self mock mock_calls N/A N/A N/A N/A call sock recv any_int N/A N/A call disable_recv N/A N/A N/A call actor_ref tell N/A close True N/A test_recv_callback_recoverable_error N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A error N/A N/A errno EWOULDBLOCK N/A errno EINTR N/A N/A N/A N/A N/A N/A self mock sock recv side_effect N/A N/A socket error error N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock stop call_count N/A test_recv_callback_unrecoverable_error N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock recv side_effect N/A socket error N/A N/A N/A self assertTrue N/A N/A N/A network Connection recv_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_send_callback_respects_io_err N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 1 N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock send_buffer N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A N/A GObject IO_IN N/A GObject IO_ERR N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_send_callback_respects_io_hup N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 1 N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock send_buffer N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A N/A GObject IO_IN N/A GObject IO_HUP N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_send_callback_respects_io_hup_and_io_err N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 1 N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A self mock actor_ref N/A Mock N/A N/A N/A self mock send_buffer N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A N/A N/A GObject IO_IN N/A GObject IO_HUP N/A GObject IO_ERR N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_send_callback_acquires_and_releases_lock N/A N/A self N/A N/A N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A N/A self mock send_lock acquire return_value True N/A N/A N/A self mock send_buffer N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 0 N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A N/A self mock send_lock acquire assert_called_once_with False N/A N/A N/A N/A N/A N/A self mock send_lock release assert_called_once_with N/A test_send_callback_fails_to_acquire_lock N/A N/A self N/A N/A N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A N/A self mock send_lock acquire return_value False N/A N/A N/A self mock send_buffer N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 0 N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A N/A self mock send_lock acquire assert_called_once_with False N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self mock sock send call_count N/A test_send_callback_sends_all_data N/A N/A self N/A N/A N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A N/A self mock send_lock acquire return_value True N/A N/A N/A self mock send_buffer data N/A N/A N/A N/A self mock send return_value N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A self mock disable_send assert_called_once_with N/A N/A N/A N/A N/A self mock send assert_called_once_with data N/A N/A N/A self assertEqual N/A N/A self mock send_buffer N/A test_send_callback_sends_partial_data N/A N/A self N/A N/A N/A N/A N/A self mock send_lock N/A Mock N/A N/A N/A N/A N/A self mock send_lock acquire return_value True N/A N/A N/A self mock send_buffer data N/A N/A N/A N/A self mock send return_value ta N/A N/A N/A self assertTrue N/A N/A N/A network Connection send_callback N/A self mock N/A sentinel fd N/A GObject IO_IN N/A N/A N/A N/A N/A self mock send assert_called_once_with data N/A N/A N/A self assertEqual ta N/A N/A self mock send_buffer N/A test_send_recoverable_error N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A error N/A N/A errno EWOULDBLOCK N/A errno EINTR N/A N/A N/A N/A N/A N/A self mock sock send side_effect N/A N/A socket error error N/A N/A N/A N/A network Connection send N/A self mock data N/A N/A N/A self assertEqual 0 N/A N/A N/A self mock stop call_count N/A test_send_calls_socket_send N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 4 N/A N/A N/A self assertEqual N/A N/A N/A network Connection send N/A self mock data N/A N/A N/A N/A N/A N/A self mock sock send assert_called_once_with data N/A test_send_calls_socket_send_partial_send N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send return_value 2 N/A N/A N/A self assertEqual ta N/A N/A N/A network Connection send N/A self mock data N/A N/A N/A N/A N/A N/A self mock sock send assert_called_once_with data N/A test_send_unrecoverable_error N/A N/A self N/A N/A N/A N/A N/A self mock sock N/A Mock spec N/A socket SocketType N/A N/A N/A N/A N/A self mock sock send side_effect N/A socket error N/A N/A N/A self assertEqual N/A N/A N/A network Connection send N/A self mock data N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A test_timeout_callback N/A N/A self N/A N/A N/A N/A N/A self mock timeout 10 N/A N/A N/A self assertFalse N/A N/A N/A network Connection timeout_callback N/A self mock N/A N/A N/A N/A N/A self mock stop assert_called_once_with any_unicode N/A N/A