Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias identifier Import alias TryExcept body ImportFrom alias alias handlers ExceptHandler type NameLoad body ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore TupleLoad Num Num Num Num Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore ListComp Call NameLoad BinOpSub NameLoad NameLoad comprehension TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore CompareLt Call NameLoad NameLoad BinOpDiv Num NameLoad orelse Assign NameStore CompareEq NameLoad NameLoad If UnaryOpNot NameLoad body Assert NameLoad Call AttributeLoad Str attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Dict For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If BoolOpAnd Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If CompareIn Call AttributeLoad Str attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr body For NameStore AttributeLoad NameLoad attr body If CompareIn NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad TupleLoad Num Num Num NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad Lambda arguments args NameParam defaults BinOpAdd NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call NameLoad NameLoad TupleLoad BinOpDiv NameLoad Num BinOpDiv NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad With Call NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Return TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Str NameLoad Str Str ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad TupleLoad Num Num Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareGt NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareGt NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareGt NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareGt NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareLt NameLoad NameLoad Assert CompareLt NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad Str attr Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore TupleLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Str keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str keyword Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Call NameLoad ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad With Call NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str NameLoad TupleLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad With Call AttributeLoad NameLoad attr Str Str Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad SubscriptLoad NameLoad Index Str NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A sys N/A json N/A codecs N/A shutil N/A unittest N/A logging N/A N/A StringIO StringIO N/A N/A N/A ImportError N/A io StringIO plistlib readPlist PIL Image PILImage N/A cssutils N/A N/A mock patch Mock N/A N/A N/A ImportError N/A unittest.mock patch Mock glue.bin main glue.core Image glue.helpers redirect_stdout N/A RED N/A 255 0 0 255 N/A CYAN N/A 0 255 255 255 N/A PINK N/A 255 0 255 255 N/A BLUE N/A 0 0 255 255 N/A GREEN N/A 0 255 0 255 N/A YELLOW N/A 255 255 0 255 N/A TRANSPARENT N/A 0 0 0 0 N/A COLORS N/A RED CYAN PINK BLUE GREEN YELLOW TRANSPARENT RED CYAN PINK BLUE GREEN YELLOW TRANSPARENT TestGlue N/A N/A unittest TestCase N/A N/A TEST_PATH tests_tmp/ setUp N/A N/A self N/A N/A N/A N/A N/A N/A cssutils log setLevel N/A logging ERROR N/A N/A self base_path N/A N/A N/A os path dirname N/A N/A N/A os path abspath __file__ N/A N/A self output_path N/A N/A N/A os path join N/A self base_path N/A self TEST_PATH N/A N/A N/A shutil rmtree N/A self output_path True N/A N/A N/A os makedirs N/A self output_path N/A N/A self pwd N/A N/A os getcwd N/A N/A N/A os chdir N/A self output_path N/A N/A sys stdout N/A StringIO N/A N/A sys stderr N/A StringIO N/A tearDown N/A N/A self N/A N/A N/A N/A N/A os chdir N/A self pwd N/A N/A N/A shutil rmtree N/A self output_path True N/A N/A sys stdout N/A sys __stdout__ N/A N/A sys stderr N/A sys __stderr__ N/A _exists N/A N/A self path N/A N/A N/A N/A N/A N/A os path exists path N/A assertExists N/A N/A self path N/A N/A N/A N/A N/A self _exists path N/A N/A {0} doesn't exists format path N/A assertDoesNotExists N/A N/A self path N/A N/A N/A N/A N/A N/A self _exists path N/A N/A {0} exists format path N/A assertColor N/A N/A self path color points tolerance N/A 0 N/A N/A image N/A N/A PILImage open path N/A point points N/A N/A image_color N/A N/A image getpixel point N/A tolerance N/A N/A diffs N/A N/A abs N/A x y N/A N/A x y N/A zip color image_color N/A match N/A N/A max diffs N/A 255 tolerance N/A N/A match N/A image_color color N/A N/A match N/A N/A False N/A N/A {0} {1} should be {2} but is {3} format path point N/A N/A COLORS get color color N/A N/A COLORS get image_color image_color N/A assertCSS N/A N/A self path class_name properties ratio N/A None N/A N/A stylesheet N/A N/A cssutils parseFile path validate False N/A file_properties N/A N/A rule N/A stylesheet cssRules N/A N/A N/A isinstance rule N/A N/A cssutils css CSSStyleRule N/A N/A N/A class_name N/A N/A c selectorText N/A c N/A rule selectorList N/A N/A declaration N/A N/A N/A rule style getProperties N/A N/A N/A file_properties N/A N/A declaration name N/A declaration value N/A N/A N/A N/A isinstance rule N/A N/A cssutils css CSSMediaRule ratio N/A N/A N/A N/A N/A min-resolution: {0} format ratio N/A N/A rule media mediaText N/A N/A media_rule N/A rule cssRules N/A N/A N/A class_name N/A N/A c selectorText N/A c N/A media_rule selectorList N/A N/A declaration N/A N/A N/A media_rule style getProperties N/A N/A N/A file_properties N/A N/A declaration name N/A declaration value N/A N/A N/A self assertEqual file_properties properties N/A create_image N/A N/A self path color size margin margin_color N/A RED N/A 64 64 0 TRANSPARENT N/A N/A dirname N/A N/A N/A os path dirname path N/A N/A N/A N/A N/A os path isdir dirname N/A N/A N/A N/A os makedirs dirname N/A image N/A N/A PILImage new RGB size color N/A margin N/A N/A background N/A N/A PILImage new RGBA N/A list N/A map N/A N/A N/A x N/A N/A x margin size margin_color N/A N/A N/A background paste image N/A tuple N/A map int N/A N/A margin 2 N/A margin 2 N/A N/A N/A background save path N/A N/A N/A N/A image save path N/A N/A N/A N/A os path abspath path N/A call N/A N/A self options capture N/A False N/A N/A out N/A StringIO N/A N/A redirect_stdout out N/A N/A code N/A main N/A N/A options split N/A output N/A N/A out getvalue N/A N/A N/A out close N/A capture N/A N/A N/A code output N/A code N/A test_simple N/A N/A self N/A N/A N/A N/A N/A os mkdir simple N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 4 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_source N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue --source=simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_output N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple --output=output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_quiet N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A code out N/A N/A self call glue simple output --quiet capture True N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertEqual out N/A test_recursive N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A N/A self create_image simple/sub/green.png GREEN N/A code N/A N/A self call glue simple output --recursive N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png GREEN N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 64 N/A 63 127 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 -64px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-green N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A test_project N/A N/A self N/A N/A N/A N/A N/A os mkdir sprites N/A code N/A N/A self call glue sprites output --project N/A N/A N/A self assertEqual code 5 N/A N/A N/A self create_image sprites/icons/red.png RED N/A N/A N/A self create_image sprites/icons/blue.png BLUE N/A N/A N/A self create_image sprites/menu/green.png GREEN N/A N/A N/A self create_image sprites/menu/yellow.png YELLOW N/A N/A N/A self create_image sprites/.ignore/pink.png PINK N/A code N/A N/A self call glue sprites output --project N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/icons.png N/A N/A N/A self assertExists output/icons.css N/A N/A N/A self assertExists output/menu.png N/A N/A N/A self assertExists output/menu.css N/A N/A N/A self assertDoesNotExists output/ignore.png N/A N/A N/A self assertDoesNotExists output/ignore.css N/A N/A N/A self assertColor output/icons.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/icons.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertColor output/menu.png YELLOW N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/menu.png GREEN N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/icons.css .sprite-icons-red N/A background-image background-repeat background-position width height url(icons.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/icons.css .sprite-icons-blue N/A background-image background-repeat background-position width height url(icons.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/menu.css .sprite-menu-yellow N/A background-image background-repeat background-position width height url(menu.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/menu.css .sprite-menu-green N/A background-image background-repeat background-position width height url(menu.png) no-repeat -64px 0 64px 64px N/A test_project_config_file N/A N/A self N/A N/A N/A N/A N/A os mkdir sprites N/A N/A open sprites/sprite.conf w f N/A N/A N/A N/A f write [sprite]
css_dir=css
 N/A N/A N/A self create_image sprites/icons/red.png RED N/A N/A N/A self create_image sprites/icons/blue.png BLUE N/A N/A N/A self create_image sprites/menu/green.png GREEN N/A N/A N/A self create_image sprites/menu/yellow.png YELLOW N/A N/A N/A self create_image sprites/.ignore/pink.png PINK N/A code N/A N/A self call glue sprites output --project N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/icons.png N/A N/A N/A self assertExists css/icons.css N/A N/A N/A self assertExists output/menu.png N/A N/A N/A self assertExists css/menu.css N/A N/A N/A self assertDoesNotExists output/ignore.png N/A N/A N/A self assertDoesNotExists output/ignore.css N/A N/A N/A self assertDoesNotExists css/ignore.css N/A test_algorithm_diagonal N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A N/A self create_image simple/yellow.png YELLOW N/A code N/A N/A self call glue simple output --algorithm=diagonal N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png YELLOW N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 64 N/A 127 127 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 128 128 N/A 191 191 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-yellow N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px -64px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -128px -128px 64px 64px N/A test_algorithm_horizontal N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A N/A self create_image simple/yellow.png YELLOW N/A code N/A N/A self call glue simple output --algorithm=horizontal N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png YELLOW N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 128 0 N/A 129 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-yellow N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -128px 0 64px 64px N/A test_algorithm_horizontal_bottom N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A 64 64 N/A N/A N/A self create_image simple/blue.png BLUE N/A 32 32 N/A N/A N/A self create_image simple/yellow.png YELLOW N/A 16 16 N/A code N/A N/A self call glue simple output --algorithm=horizontal-bottom N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 32 N/A 95 63 N/A N/A N/A self assertColor output/simple.png YELLOW N/A N/A 96 48 N/A 111 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px -32px 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-yellow N/A background-image background-repeat background-position width height url(simple.png) no-repeat -96px -48px 16px 16px N/A test_algorithm_vertical N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A N/A self create_image simple/yellow.png YELLOW N/A code N/A N/A self call glue simple output --algorithm=vertical N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png YELLOW N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 64 N/A 63 127 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 128 N/A 63 188 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-yellow N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 -64px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 -128px 64px 64px N/A test_algorithm_vertical_right N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A 64 64 N/A N/A N/A self create_image simple/blue.png BLUE N/A 32 32 N/A N/A N/A self create_image simple/yellow.png YELLOW N/A 16 16 N/A code N/A N/A self call glue simple output --algorithm=vertical-right N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 32 64 N/A 63 95 N/A N/A N/A self assertColor output/simple.png YELLOW N/A N/A 48 96 N/A 63 111 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -32px -64px 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-yellow N/A background-image background-repeat background-position width height url(simple.png) no-repeat -48px -96px 16px 16px N/A test_no_img_with_img N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --no-img --img=folder N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertDoesNotExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(../folder/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(../folder/simple.png) no-repeat -64px 0 64px 64px N/A test_ordering N/A N/A self N/A N/A N/A settings N/A crop padding margin ratios False 0 0 N/A 1 N/A red_path N/A N/A self create_image simple/red.png RED N/A 64 64 N/A blue_path N/A N/A self create_image simple/blue.png BLUE N/A 32 32 N/A alpha_path N/A N/A self create_image simple/alpha.png YELLOW N/A 32 32 N/A N/A settings N/A algorithm_ordering maxside N/A red N/A Image red_path settings N/A blue N/A Image blue_path settings N/A N/A red blue N/A N/A settings N/A algorithm_ordering width N/A red N/A Image red_path settings N/A blue N/A Image blue_path settings N/A N/A red blue N/A N/A settings N/A algorithm_ordering height N/A red N/A Image red_path settings N/A blue N/A Image blue_path settings N/A N/A red blue N/A N/A settings N/A algorithm_ordering area N/A red N/A Image red_path settings N/A blue N/A Image blue_path settings N/A N/A red blue N/A N/A settings N/A algorithm_ordering filename N/A red N/A Image red_path settings N/A blue N/A Image blue_path settings N/A alpha_path N/A Image alpha_path settings N/A N/A red blue N/A N/A blue alpha_path N/A test_css N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --css=styles N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists styles/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS styles/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(../output/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS styles/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(../output/simple.png) no-repeat -64px 0 64px 64px N/A test_css_validation N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/sub/red.png RED N/A code N/A N/A self call glue simple output --recursive N/A N/A N/A self assertEqual code 3 N/A test_less N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --less N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.less N/A N/A N/A self assertDoesNotExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A test_scss N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --scss N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.scss N/A N/A N/A self assertDoesNotExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A test_namespace N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --namespace=style N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .style-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .style-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_empty_namespace N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --namespace= N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_sprite_namespace N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --sprite-namespace=custom N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-custom-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-custom-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_sprite_namespace_with_var N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --sprite-namespace=custom-{sprite_name} N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-custom-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-custom-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_empty_sprite_namespace N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --sprite-namespace= N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_empty_namespaces N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --sprite-namespace= --namespace= N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_url N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --url=http://static.domain.com/ N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(http://static.domain.com/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(http://static.domain.com/simple.png) no-repeat -64px 0 64px 64px N/A code N/A N/A self call glue simple output --url=/static/ N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(/static/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(/static/simple.png) no-repeat -64px 0 64px 64px N/A code N/A N/A self call glue simple --url=/custom/ --css=a/b/c --img=d/e/f N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists d/e/f/simple.png N/A N/A N/A self assertExists a/b/c/simple.css N/A N/A N/A self assertColor d/e/f/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor d/e/f/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS a/b/c/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(/custom/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS a/b/c/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(/custom/simple.png) no-repeat -64px 0 64px 64px N/A test_cachebuster N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --cachebuster N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png?12345) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png?12345) no-repeat -64px 0 64px 64px N/A N/A patch glue.core.Sprite.hash test_cachebuster_filename N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --cachebuster-filename N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple_12345.png N/A N/A N/A self assertExists output/simple_12345.css N/A N/A N/A self assertColor output/simple_12345.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple_12345.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple_12345.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple_12345.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple_12345.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple_12345.png) no-repeat -64px 0 64px 64px N/A N/A patch glue.core.Sprite.hash test_cachebuster_filename_only_sprites N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --cachebuster-filename-only-sprites N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple_12345.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple_12345.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple_12345.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple_12345.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple_12345.png) no-repeat -64px 0 64px 64px N/A N/A patch glue.core.Sprite.hash test_separator_simple N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --separator=- N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_separator_camelcase N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --separator=camelcase N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .spriteSimpleRed N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .spriteSimpleBlue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_css_template N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A open template.jinja w f N/A N/A N/A N/A f write custom css template for {{ hash }} N/A code N/A N/A self call glue simple output --css-template=template.jinja N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A codecs open output/simple.css r utf-8-sig f N/A N/A content N/A N/A f read N/A N/A N/A self assertEqual content N/A N/A custom css template for {0} format 12345 N/A N/A patch glue.core.Sprite.hash test_less_template N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A open template.jinja w f N/A N/A N/A N/A f write custom less template for {{ hash }} N/A code N/A N/A self call glue simple output --less --less-template=template.jinja N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.less N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A codecs open output/simple.less r utf-8-sig f N/A N/A content N/A N/A f read N/A N/A N/A self assertEqual content N/A N/A custom less template for {0} format 12345 N/A N/A patch glue.core.Sprite.hash test_scss_template N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A open template.jinja w f N/A N/A N/A N/A f write custom scss template for {{ hash }} N/A code N/A N/A self call glue simple output --scss --scss-template=template.jinja N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.scss N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A codecs open output/simple.scss r utf-8-sig f N/A N/A content N/A N/A f read N/A N/A N/A self assertEqual content N/A N/A custom scss template for {0} format 12345 N/A N/A patch glue.core.Sprite.hash test_html N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --html N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertExists output/simple.html N/A test_json N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --json N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.json N/A N/A N/A codecs open output/simple.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A frames list N/A code N/A N/A self call glue simple output --json N/A N/A N/A self assertEqual code 0 N/A test_json_ratios N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --json --retina N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.json N/A N/A N/A self assertExists output/simple@2x.png N/A N/A N/A self assertExists output/simple@2x.json N/A N/A N/A codecs open output/simple.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A frames list N/A N/A N/A codecs open output/simple@2x.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A frames list N/A test_json_hash N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --json --json-format=hash N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.json N/A N/A N/A codecs open output/simple.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A frames dict N/A test_img N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --img=images N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists images/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor images/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor images/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(../images/simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(../images/simple.png) no-repeat -64px 0 64px 64px N/A test_no_img N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --no-img N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertDoesNotExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_crop N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED margin 4 N/A N/A N/A self create_image simple/blue.png BLUE margin 4 N/A code N/A N/A self call glue simple output --crop N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_crop_dirty_transparent_images N/A N/A self N/A N/A N/A WHITE_TRANSPARENT N/A 255 255 255 0 N/A N/A N/A self create_image simple/red.png margin 4 margin_color WHITE_TRANSPARENT N/A N/A N/A self create_image simple/blue.png BLUE margin 4 margin_color WHITE_TRANSPARENT N/A code N/A N/A self call glue simple output --crop N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_padding N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --padding=4 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 4 N/A 67 67 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 4 N/A 139 67 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 72px 72px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -72px 0 72px 72px N/A code N/A N/A self call glue simple output --padding=2,4 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 2 N/A 139 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 72px 68px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -72px 0 72px 68px N/A code N/A N/A self call glue simple output --padding=2,4,6 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 2 N/A 139 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 72px 72px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -72px 0 72px 72px N/A code N/A N/A self call glue simple output --padding=2,4,6,8 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 8 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 84 2 N/A 147 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 76px 72px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -76px 0 76px 72px N/A test_margin N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --margin=4 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 4 N/A 67 67 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 4 N/A 139 67 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -4px -4px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -76px -4px 64px 64px N/A code N/A N/A self call glue simple output --margin=2,4 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 2 N/A 139 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -4px -2px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -76px -2px 64px 64px N/A code N/A N/A self call glue simple output --margin=2,4,6 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 4 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 76 2 N/A 139 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -4px -2px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -76px -2px 64px 64px N/A code N/A N/A self call glue simple output --margin=2,4,6,8 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 8 2 N/A 67 65 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 84 2 N/A 147 65 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -8px -2px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -84px -2px 64px 64px N/A test_png8 N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --png8 N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A image N/A N/A PILImage open output/simple.png N/A N/A N/A self assertEqual N/A image mode P N/A N/A N/A self assertEqual N/A N/A image getpixel N/A 0 0 0 N/A N/A N/A self assertEqual N/A N/A image getpixel N/A 63 63 0 N/A N/A N/A self assertEqual N/A N/A image getpixel N/A 64 0 1 N/A N/A N/A self assertEqual N/A N/A image getpixel N/A 127 63 1 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_retina N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --retina N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple@2x.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 31 31 0.1 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 31 0 N/A 63 31 0.1 N/A N/A N/A self assertColor output/simple@2x.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple@2x.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -32px 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(simple@2x.png) no-repeat 0 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(simple@2x.png) no-repeat -32px 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A test_retina_url N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --retina --url=http://static.domain.com/ N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple@2x.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 31 31 0.1 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 31 0 N/A 63 31 0.1 N/A N/A N/A self assertColor output/simple@2x.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple@2x.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(http://static.domain.com/simple.png) no-repeat 0 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(http://static.domain.com/simple.png) no-repeat -32px 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(http://static.domain.com/simple@2x.png) no-repeat 0 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(http://static.domain.com/simple@2x.png) no-repeat -32px 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A test_retina_cachebuster N/A N/A self mocked_hash N/A N/A N/A N/A mocked_hash __get__ N/A Mock return_value 12345 N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --retina --cachebuster N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple@2x.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 31 31 0.1 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 31 0 N/A 63 31 0.1 N/A N/A N/A self assertColor output/simple@2x.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple@2x.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png?12345) no-repeat 0 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png?12345) no-repeat -32px 0 32px 32px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(simple@2x.png?12345) no-repeat 0 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position background-size -webkit-background-size -moz-background-size width height url(simple@2x.png?12345) no-repeat -32px 0 64px 32px 64px 32px 64px 32px 32px 32px ratio 2 N/A N/A patch glue.core.Sprite.hash test_cocos2d N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --cocos2d N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.plist N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A meta N/A readPlist output/simple.plist N/A N/A N/A self assertEqual N/A set N/A N/A meta keys N/A set N/A frames metadata N/A N/A N/A self assertEqual N/A set N/A N/A N/A meta N/A frames keys N/A set N/A blue.png red.png N/A code N/A N/A self call glue simple output --cocos2d N/A N/A N/A self assertEqual code 0 N/A test_debug N/A N/A self mock_process N/A N/A N/A N/A mock_process side_effect N/A Exception Error! N/A N/A N/A os mkdir simple N/A N/A code output N/A N/A self call glue simple output capture True N/A N/A N/A self assertEqual code 1 N/A N/A patch glue.managers.simple.SimpleManager.process test_custom_paths N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple --css=output --img=output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png RED N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_sprite_config_files N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/sub/blue.png BLUE N/A N/A open simple/sprite.conf w f N/A N/A N/A N/A f write [sprite]
recursive=true
 N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A test_image_config_files N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A N/A open simple/sprite.conf w f N/A N/A N/A N/A f write [blue.png]
margin=4
 N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 4 4 N/A 67 67 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 72 0 N/A 135 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-blue N/A background-image background-repeat background-position width height url(simple.png) no-repeat -4px -4px 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-red N/A background-image background-repeat background-position width height url(simple.png) no-repeat -72px 0 64px 64px N/A test_pseudo_class N/A N/A self N/A N/A N/A N/A N/A self create_image simple/button.png RED N/A N/A N/A self create_image simple/button__hover.png BLUE N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button:hover N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A test_multiple_pseudo_class N/A N/A self N/A N/A N/A N/A N/A self create_image simple/button.png RED N/A N/A N/A self create_image simple/button__hover__before.png BLUE N/A code N/A N/A self call glue simple output N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button:hover:before N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A test_custom_pseudo_class_separator N/A N/A self N/A N/A N/A N/A N/A self create_image simple/button.png RED N/A N/A N/A self create_image simple/button_hover.png BLUE N/A code N/A N/A self call glue simple output --pseudo-class-separator=_ N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.css N/A N/A N/A self assertColor output/simple.png BLUE N/A N/A 0 0 N/A 63 63 N/A N/A N/A self assertColor output/simple.png RED N/A N/A 64 0 N/A 127 63 N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button N/A background-image background-repeat background-position width height url(simple.png) no-repeat -64px 0 64px 64px N/A N/A N/A self assertCSS output/simple.css .sprite-simple-button:hover N/A background-image background-repeat background-position width height url(simple.png) no-repeat 0 0 64px 64px N/A test_no_css N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --no-css N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertDoesNotExists output/simple.css N/A test_no_css_with_css N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --no-css --css=folder N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertDoesNotExists output/folder/simple.css N/A test_no_css_validation N/A N/A self N/A N/A N/A Test that CSS validations does not run if --no-css is present. N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/red|.png RED N/A code N/A N/A self call glue simple output --no-css N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertDoesNotExists output/simple.css N/A test_caat N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --caat N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.json N/A N/A N/A codecs open output/simple.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A sprites dict N/A test_caat_ratios N/A N/A self N/A N/A N/A N/A N/A self create_image simple/red.png RED N/A N/A N/A self create_image simple/blue.png BLUE N/A code N/A N/A self call glue simple output --caat --retina N/A N/A N/A self assertEqual code 0 N/A N/A N/A self assertExists output/simple.png N/A N/A N/A self assertExists output/simple.json N/A N/A N/A self assertExists output/simple@2x.png N/A N/A N/A self assertExists output/simple@2x.json N/A N/A N/A codecs open output/simple.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A sprites dict N/A N/A N/A codecs open output/simple@2x.json r utf-8-sig f N/A N/A data N/A N/A json loads N/A N/A f read N/A N/A isinstance N/A data N/A sprites dict N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main