Module ImportFrom alias Expr Str Assign NameStore Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body Expr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword TupleLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults kwarg body If BoolOpAnd CompareIs Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Raise Call NameLoad Str decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call NameLoad Dict Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If CompareIs Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Raise Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num If BoolOpOr NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Raise ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore NameLoad Raise Call NameLoad NameLoad ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad BinOpSub NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore BinOpMod Str TupleLoad BoolOpOr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Str Str body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot AttributeLoad NameLoad attr body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr TryFinally body Return Call NameLoad NameLoad NameLoad finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad TryFinally body If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Expr Str If CompareLtE NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr IfExp NameLoad Str Str If NameLoad body Return Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise NameLoad BoolOpOr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotIn Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise NameLoad BoolOpOr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotEq NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareEq NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot CompareGt NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot CompareGtE NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot CompareLt NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot CompareLtE NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore BinOpMult NameLoad Num If CompareGt Call NameLoad BinOpSub NameLoad NameLoad NameLoad body Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad TupleLoad Assign NameStore BoolOpOr NameLoad Dict TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Raise NameLoad BoolOpOr NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad TupleLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad TupleLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Raise Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Return CompareEq TupleLoad NameLoad NameLoad NameLoad TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad keyword Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Return NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad NameLoad Slice NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad TupleLoad Assign AttributeStore NameLoad attr BoolOpOr NameLoad Dict Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr NameLoad NameLoad Assign NameStore ListLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body For TupleStore NameStore NameStore AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If NameLoad body Assert Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Lambda arguments args defaults vararg kwarg NameLoad decorator_list Assign NameStore Call NameLoad Lambda arguments args NameParam defaults AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Num Num For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd SubscriptStore NameLoad Index Call NameLoad NameLoad Num If CompareGt SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If CompareGt SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse If CompareGt SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return BinOpMod Str TupleLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore IfExp NameLoad BinOpMod IfExp NameLoad Str Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Str Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameLoad FunctionDef arguments args defaults vararg kwarg body Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore BinOpMod Str NameLoad Exec NameLoad Call NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Lambda arguments args NameParam defaults AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareLt AttributeLoad NameLoad attr Num body For NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore AttributeLoad NameLoad attr If CompareNotIn Str NameLoad body Assign NameStore BinOpAdd BinOpAdd AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareNotIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assert Call NameLoad NameLoad NameLoad For NameStore NameLoad body If CompareIs Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num NameLoad NameLoad NameLoad NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr orelse Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr BinOpSub Call NameLoad AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str If CompareIs Call NameLoad NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Raise NameLoad Str orelse Raise NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore ListLoad Str For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad BinOpAdd NameLoad Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Num Delete NameDel TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad body If Call AttributeLoad NameLoad attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr body Continue orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareLt AttributeLoad NameLoad attr Num UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Continue If AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Str orelse If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Expr Call AttributeLoad NameLoad attr Str Break ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Break If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body Break decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body If AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Str ExceptHandler body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Raise Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Num For NameStore AttributeLoad NameLoad attr body If CompareIs AttributeLoad NameLoad attr NameLoad body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr Num orelse If Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr Num orelse If Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr Num orelse If Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd SubscriptStore NameLoad Index AttributeLoad NameLoad attr Num If CompareGt SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse If CompareGt SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Num body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad Lambda arguments args NameParam defaults CompareIsNot AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse If CompareEq NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Pass decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list NameLoad decorator_list
N/A __future__ print_function N/A Provides base classes for test cases and suites.

This module defines a Test class, which is the base class for all test case
implementations. This class is not substantiated itself, but a subclass is
defined that overrides the `execute` method.

Your `execute` should return the value that the `passed` or
`failed` methods return, as appropriate.

All test related errors are based on the `TestError` exception. You may
also use the built-in `assert` statement. There are also various assertion
methods you may use. If a test cannot be completed for some reason you may
also raise a 'TestIncompleteError' exception.

Usually, a set of test cases is collected in a TestSuite object, and run
sequentially by calling the suite instance.

 N/A __author__ keith@kdart.com (Keith Dart) N/A sys N/A os pycopia scheduler pycopia timelib pycopia debugger pycopia UserFile pycopia dictlib pycopia module pycopia methods pycopia.QA constants pycopia.db.config ConfigError TestError N/A AssertionError N/A N/A TestError() Base class of testing errors.

    This is based on AssertionError so the same assertion catcher can be
    used to indicate test failure.
     N/A TestFailError N/A TestError N/A N/A Test case failed to meet the pass criteria. N/A TestIncompleteError N/A Exception N/A N/A Test case disposition could not be determined. N/A TestSuiteAbort N/A Exception N/A N/A Entire test suite must be aborted. N/A TestPrerequisiteError N/A Exception N/A N/A Error in prerequisite calculation. N/A TestResult N/A object N/A __init__ N/A N/A self value N/A N/A N/A N/A self _value value N/A __str__ N/A N/A self N/A N/A N/A N/A Result: %s N/A self _value N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A self _value N/A __nonzero__ N/A N/A self N/A N/A N/A N/A N/A self _value N/A constants PASSED N/A __int__ N/A N/A self N/A N/A N/A N/A int N/A self _value N/A is_passed N/A N/A self N/A N/A N/A N/A N/A self _value N/A constants PASSED N/A not_passed N/A N/A self N/A N/A N/A N/A N/A self _value N/A N/A constants FAILED N/A constants EXPECTED_FAIL N/A constants INCOMPLETE N/A constants ABORT N/A is_failed N/A N/A self N/A N/A N/A N/A N/A self _value N/A constants FAILED N/A is_incomplete N/A N/A self N/A N/A N/A N/A N/A self _value N/A constants INCOMPLETE N/A N/A TestOptions N/A object N/A N/A A descriptor that forces OPTIONS to be class attributes that are not
    overridable by instances.
     __init__ N/A N/A self initdict N/A N/A N/A N/A self OPTIONS N/A N/A dictlib AttrDictDefault initdict default N/A N/A __get__ N/A N/A self instance owner N/A N/A N/A N/A self OPTIONS N/A __set__ N/A N/A self instance value N/A N/A N/A N/A N/A insert_options N/A N/A klass N/A kwargs N/A N/A N/A N/A N/A type klass type N/A issubclass klass Test N/A N/A N/A N/A N/A N/A klass __dict__ has_key OPTIONS N/A N/A N/A klass OPTIONS N/A TestOptions kwargs N/A N/A N/A ValueError Need Test class. N/A Test N/A object N/A N/A Base class for all test cases.

    Subclass this to define a new test. The test should be as atomic as
    possible. A Test may be combined with other tests and may have
    dependencies (defined by the database).

    May send any of the following messages to the report object:
        TESTARGUMENTS     : string representation of supplied arguments.
        STARTTIME         : timestamp indicating when test was started.
        ENDTIME           : timestamp indicating when test ended.
        BUILD             : string indicating a build that was tested against
        add_heading       : Section heading.
        passed            : When test passed.
        failed            : When test failed.
        incomplete        : When test was not able to complete.
        diagnostic        : Add useful diagnostic information when a test fails.
        abort             : Abort suite, provides the reason.
        info              : Informational and progress messages.
     N/A OPTIONS N/A TestOptions N/A N/A PREREQUISITES N/A __init__ N/A N/A self config N/A N/A N/A cl N/A self __class__ N/A N/A self test_name N/A %s.%s N/A N/A cl __module__ N/A cl __name__ N/A N/A self config config N/A N/A self _report N/A config report N/A N/A self _debug N/A N/A config flags DEBUG N/A N/A self _verbose N/A N/A config flags VERBOSE N/A set_test_options N/A N/A cls N/A N/A N/A N/A insert_options cls N/A opts N/A cls OPTIONS N/A pl N/A N/A prereq N/A cls PREREQUISITES N/A N/A N/A isinstance prereq basestring N/A N/A N/A N/A pl append N/A PreReq prereq N/A N/A N/A N/A type prereq tuple N/A N/A N/A N/A pl append N/A PreReq prereq N/A N/A N/A ValueError Bad prerequisite value. N/A N/A opts prerequisites pl N/A N/A opts bugid None N/A classmethod __call__ N/A N/A self N/A args kwargs N/A N/A Invoke the test.

        The test is "kicked-off" by calling this. Any arguments are passed to
        the test implementation (`execute` method).
         N/A N/A N/A N/A self config register_testcase N/A self test_name N/A N/A N/A N/A self _report add_heading N/A self test_name 2 N/A N/A args kwargs N/A N/A N/A N/A N/A self _report add_message TESTARGUMENTS N/A repr_args args kwargs 2 N/A N/A self starttime N/A N/A timelib now N/A N/A N/A self _initialize N/A teststarttime N/A N/A timelib now N/A N/A N/A rv N/A N/A self execute args kwargs N/A N/A N/A KeyboardInterrupt N/A N/A N/A self _debug N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A N/A debugger post_mortem tb ex val N/A rv N/A N/A self incomplete N/A %s: aborted by user. N/A self test_name N/A N/A N/A self _finalize rv N/A N/A N/A TestFailError N/A errval N/A N/A rv N/A N/A self failed N/A Caught Fail exception: %s N/A errval N/A N/A TestIncompleteError N/A errval N/A N/A rv N/A N/A self incomplete N/A Caught incomplete exception: %s N/A errval N/A N/A AssertionError N/A errval N/A N/A rv N/A N/A self failed N/A failed assertion: %s N/A errval N/A N/A TestSuiteAbort N/A N/A N/A N/A N/A self config register_testcase None N/A N/A N/A N/A debugger DebuggerQuit N/A N/A rv N/A N/A self incomplete N/A %s: Debugger exit. N/A N/A self test_name N/A N/A ConfigError N/A cerr N/A N/A rv N/A N/A self incomplete N/A N/A Configuration error: {} format cerr N/A N/A N/A N/A self config register_testcase None N/A N/A self _debug N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A N/A debugger post_mortem tb ex val N/A tb None N/A N/A TestSuiteAbort cerr N/A N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A self _debug N/A N/A N/A N/A debugger post_mortem tb ex val N/A tb None N/A rv N/A N/A self incomplete N/A %s: Exception: (%s: %s) N/A N/A self test_name ex val N/A endtime N/A N/A timelib now N/A N/A N/A N/A self config register_testcase None N/A N/A N/A N/A self _report add_message STARTTIME teststarttime 2 N/A N/A N/A N/A self _report add_message ENDTIME endtime 2 N/A N/A minutes seconds N/A divmod N/A endtime teststarttime 60.0 N/A N/A hours minutes N/A divmod minutes 60.0 N/A N/A N/A self info N/A Time elapsed: %02.0f:%02.0f:%02.2f N/A hours minutes seconds N/A N/A N/A self _finalize rv N/A _initialize N/A N/A self N/A N/A N/A initialize phase handler.

        Run user-defined `initialize()` and catch exceptions. If an exception
        occurs in the `initialize()` method (which establishes the
        pre-conditions for a test) then alter the return value to abort()
        which will abort the suite. Invokes the debugger if the debug flag is
        set. If debug flag is not set then emit a diagnostic message to the
        report.
         N/A N/A N/A N/A N/A self initialize N/A N/A N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A N/A self diagnostic N/A %s (%s) N/A ex val N/A N/A self _debug N/A N/A N/A N/A debugger post_mortem tb ex val N/A N/A N/A self abort Test initialization failed! N/A _finalize N/A N/A self rv N/A N/A N/A 
        Run user-defined `finalize()` and catch exceptions. If an exception
        occurs in the finalize() method (which is supposed to clean up from
        the test and leave the UUT in the same condition as when it was
        entered) then alter the return value to abort() which will abort the
        suite. Invokes the debugger if the debug flag is set.
         N/A N/A N/A N/A N/A self finalize rv N/A N/A N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A N/A self diagnostic N/A %s (%s) N/A ex val N/A N/A self _debug N/A N/A N/A N/A debugger post_mortem tb ex val N/A N/A N/A self abort Test finalize failed! N/A rv N/A get_start_timestamp N/A N/A self N/A N/A N/A N/A N/A timelib strftime %m%d%H%M%S N/A N/A timelib localtime N/A self starttime N/A get_filename N/A N/A self basename ext N/A None log N/A N/A Create a log file name.

        Return a standardized log file name with a timestamp that should be
        unique enough to not clash with other tests, and also able to correlate
        it later to the test report via the time stamp. The path points to the
        resultsdir location.
         N/A filename N/A %s-%s.%s N/A N/A basename N/A N/A N/A self test_name replace . _ N/A N/A self get_start_timestamp ext N/A N/A N/A N/A os path join N/A N/A self config resultsdir filename N/A get_file N/A N/A self basename ext mode N/A None log a+ N/A N/A Return a file object that you can write to in the results location. N/A fname N/A N/A self get_filename basename ext N/A N/A N/A UserFile UserFile fname mode N/A sleep N/A N/A self Nsecs N/A N/A N/A Sleep for N seconds.

        Sleep method simply sleeps for specified number of seconds.
         N/A N/A N/A scheduler sleep Nsecs N/A schedule N/A N/A self delay cb N/A N/A N/A Callback scheduler.

        Schedule a function to run 'delay' seconds in the future.
         N/A N/A N/A scheduler add delay callback cb N/A timed N/A N/A self function args kwargs timeout N/A N/A N/A 30 N/A N/A Run a function with a failsafe timer.

        Call the provided function with a failsafe timeout value. The function
        will be interrupted if it takes longer than `timeout` seconds.
         N/A sched N/A N/A scheduler get_scheduler N/A N/A N/A sched timeout function args kwargs timeout N/A timedio N/A N/A self function args kwargs timeout N/A N/A N/A 30 N/A N/A Run a function that may block on I/O with a failsafe timer.

        Call the provided function with a failsafe timeout value. The function
        will be interrupted if it takes longer than `timeout` seconds. The
        method should be one that blocks on I/O.
         N/A sched N/A N/A scheduler get_scheduler N/A N/A N/A sched iotimeout function args kwargs timeout N/A run_subtest N/A N/A self _testclass N/A args kwargs N/A N/A Invoke another Test class in the same environment as this one.

        Runs another Test subclass with the given arguments passed to the
        `execute()`.

        The report object is overridden with A NullReport by
        default. Therefore you won't see output from subtests. If you want to
        see subtest output in the report give the verbose option to the test runner.
         N/A orig N/A N/A N/A self config get_report N/A N/A N/A self _verbose N/A pycopia reports N/A nr N/A N/A reports get_report N/A NullReport N/A N/A N/A N/A self config set_report nr N/A inst N/A _testclass N/A self config N/A N/A N/A N/A inst args kwargs N/A N/A N/A N/A N/A self config set_report orig N/A run_command N/A N/A self cmdline env timeout logfile N/A None None None N/A N/A Run an external command.

        This method will block until the command returns. An optional timeout
        may be supplied to prevent hanging forever.

        Arguments::

            A string that is the command line to be run.
            A (optional) dictionary containing the environment variables.
            An (optional) timeout value that will forcibly return if the call
                takes longer than the timeout value.

        Returns::

           A tuple of ExitStatus object and stdout/stderr (string) of the program.
         pycopia proctools N/A p N/A N/A proctools spawnpipe cmdline logfile logfile env env N/A N/A N/A timeout N/A N/A sched N/A N/A scheduler get_scheduler N/A text N/A N/A sched iotimeout N/A p read timeout timeout N/A N/A text N/A N/A p read N/A N/A N/A N/A p wait N/A N/A N/A p close N/A N/A N/A p exitstatus text N/A debug N/A N/A self N/A N/A N/A Enter The Debugger (starring Bruce Li).

        Forceably enter the dubugger. Win the prize, escape with your life.
        Useful when developing tests.
         N/A N/A N/A debugger set_trace start 2 N/A set_debug N/A N/A self onoff N/A 1 N/A N/A Turn on or off the DEBUG flag.

        Set the debug flag from a test method. Useful for setting debug flag
        only around questionable code blocks during test development.

        Args:
            onoff: flag (boolean) to set the debug state on or off.
         N/A ov N/A self _debug N/A N/A self _debug N/A N/A N/A self config flags DEBUG onoff N/A ov N/A set_verbose N/A N/A self level N/A 1 N/A N/A Turn on or off the VERBOSE flag.

        Make reports more, or less, verbose at run time.
         N/A ov N/A self _verbose N/A N/A self _verbose N/A N/A N/A self config flags VERBOSE level N/A ov N/A N/A verbose N/A property N/A N/A N/A s N/A N/A s _verbose set_verbose _get_prerequisites N/A N/A self N/A N/A N/A Get the list of prerequisites.

        Returns current list of prerequisite tests, which could be empty.
         N/A N/A N/A self OPTIONS prerequisites N/A N/A prerequisites N/A property _get_prerequisites initialize N/A N/A self N/A N/A N/A Hook method to initialize a test.

        Override if necessary. Establishes the pre-conditions of the test.
         N/A N/A finalize N/A N/A self result N/A N/A N/A Hook method when finalizing a test.

        Override if necessary. Used to clean up any state in UUT.
         N/A N/A execute N/A N/A self N/A args kw N/A N/A The primary test method.

        Overrided this method in a subclass to implement a specific test. All
        primary test logic and control should go here.
         N/A N/A N/A self incomplete you must define a method named "execute" in your subclass. N/A passed N/A N/A self msg N/A N/A constants NO_MESSAGE N/A N/A Call this and return if the execute() passed.

        If your execute determined that the test passed, call this.
        In a execute, the pattern is: `return self.passed('message')`.
         N/A N/A N/A N/A self _report passed msg 2 N/A N/A TestResult N/A constants PASSED N/A failed N/A N/A self msg N/A N/A constants NO_MESSAGE N/A N/A Call this and return if the execute() failed.

        Call this if your test logic determines a failure. Only call this if
        your test implementation in the execute is positively sure that it
        does not meet the criteria. Other kinds of errors should return
        `incomplete()`.

        In the execute method, the pattern is: `return self.failed('message')`.
         N/A N/A N/A self OPTIONS bugid N/A N/A N/A N/A N/A self _report diagnostic N/A This failure was expected. see bug: %s. N/A N/A N/A self OPTIONS bugid 2 N/A N/A N/A N/A self _report expectedfail msg 2 N/A N/A TestResult N/A constants EXPECTED_FAIL N/A N/A N/A N/A N/A self _report failed msg 2 N/A N/A TestResult N/A constants FAILED N/A expectedfail N/A N/A self msg N/A N/A constants NO_MESSAGE N/A N/A Call this and return if the execute() failed but that was expected.

        This is used primarily for exploratory testing where you may have a
        sequence of parameterized tests where some are expected to fail past a
        certain threshold. In other words, the test fails because the
        parameters are out of spec.

        In the execute method, the pattern is: `return self.expectedfail('message')`.
         N/A N/A N/A N/A self _report expectedfail msg 2 N/A N/A TestResult N/A constants EXPECTED_FAIL N/A incomplete N/A N/A self msg N/A N/A constants NO_MESSAGE N/A N/A Test could not complete.

        Call this and return if your test implementation determines that the
        test cannot be completed for whatever reason.
        In a execute, the pattern is: `return self.incomplete('message')`.
         N/A N/A N/A N/A self _report incomplete msg 2 N/A N/A TestResult N/A constants INCOMPLETE N/A abort N/A N/A self msg N/A N/A constants NO_MESSAGE N/A N/A Abort the test suite.

        Some drastic error occurred, or some condition is not met, and the
        suite cannot continue. Raises the TestSuiteAbort exception.
         N/A N/A N/A N/A self _report abort msg 2 N/A N/A TestSuiteAbort msg N/A info N/A N/A self msg level N/A 0 N/A N/A Informational messages for the report.

        Record non-critical information in the report object.
        The message is not recorded if the given level is greater than the current verbosity level.
         N/A N/A level N/A self _verbose N/A N/A N/A N/A N/A self _report info msg 2 N/A diagnostic N/A N/A self msg N/A N/A N/A Emit diagnostic message to report.

        Call this one or more times if a failed condition is detected, and you
        want to record in the report some pertinent diagnostic information.
        The diagnostic information is typically some ephemeral state of the
        UUT you want to record.
         N/A N/A N/A N/A self _report diagnostic msg 2 N/A manual N/A N/A self N/A N/A N/A Perform a purely manual test according to the instructions in the document string. N/A UI N/A N/A self config UI N/A N/A N/A UI Print N/A self test_name N/A N/A N/A UI write N/A N/A self __class__ __doc__ N/A N/A N/A UI Print 
Please perform this test according to the instructions above. N/A completed N/A N/A UI yes_no %IWas it completed%N? N/A completed N/A N/A passed N/A N/A UI yes_no Did it pass? N/A msg N/A N/A UI user_input N/A passed %gComments%N?  %rReason%N?  N/A passed N/A N/A N/A N/A self passed N/A OK, user reported passed.  msg N/A N/A msg N/A N/A N/A N/A self diagnostic msg N/A N/A N/A self failed User reported failure. N/A N/A msg N/A N/A UI user_input %YReason%N?  N/A N/A N/A self incomplete N/A Could not perform test.  msg N/A report_build N/A N/A self buildstring N/A N/A N/A Report any build information. Usually a version or build number.

        The buildstring parameter must match the following pattern::

            <projectname>[ .:]<major>.<minor>.<subminor>.<build>
         N/A N/A N/A N/A self _report add_message BUILD buildstring 1 N/A assertPassed N/A N/A self arg msg N/A None N/A N/A Assert a sub-test run by the `run_subtest()` method passed.

        Used when invoking test objects as a unit.
         N/A N/A N/A int arg N/A constants PASSED N/A N/A TestFailError N/A msg Did not pass test. N/A assertFailed N/A N/A self arg msg N/A None N/A N/A Assert a sub-test run by the `run_subtest()` method failed.

        Useful for "negative" tests.
         N/A N/A N/A int arg N/A N/A constants FAILED N/A constants EXPECTED_FAIL N/A N/A TestFailError N/A msg Did not pass test. N/A assertEqual N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the arguments are equal,

        Raises TestFailError if arguments are not equal. An optional message
        may be included that overrides the default message.
         N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s != %s N/A arg1 arg2 N/A assertNotEqual N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the arguments are not equal,

        Raises TestFailError if arguments are equal. An optional message
        may be included that overrides the default message.
         N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s == %s N/A arg1 arg2 N/A assertGreaterThan N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the first argument is greater than the second
        argument.
         N/A N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s <= %s N/A arg1 arg2 N/A assertGreaterThanOrEqual N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the first argument is greater or equal to the second
        argument.
         N/A N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s < %s N/A arg1 arg2 N/A assertLessThan N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the first argument is less than the second
        argument.
         N/A N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s >= %s N/A arg1 arg2 N/A assertLessThanOrEqual N/A N/A self arg1 arg2 msg N/A None N/A N/A Asserts that the first argument is less than or equal to the second
        argument.
         N/A N/A N/A arg1 arg2 N/A N/A TestFailError N/A msg N/A %s > %s N/A arg1 arg2 N/A assertTrue N/A N/A self arg msg N/A None N/A N/A Asserts that the argument evaluates to True by Python.

        Raises TestFailError if argument is not True according to Python truth
        testing rules.
         N/A N/A arg N/A N/A TestFailError N/A msg N/A %s not true. N/A arg N/A N/A failUnless assertTrue assertFalse N/A N/A self arg msg N/A None N/A N/A Asserts that the argument evaluates to False by Python.

        Raises TestFailError if argument is not False according to Python truth
        testing rules.
         N/A arg N/A N/A TestFailError N/A msg N/A %s not false. N/A arg N/A assertApproximatelyEqual N/A N/A self arg1 arg2 fudge msg N/A None None N/A N/A Asserts that the numeric arguments are approximately equal.

        Raises TestFailError if the second argument is outside a tolerance
        range (defined by the "fudge factor").    The default is 5% of the first
        argument.
         N/A N/A fudge None N/A N/A fudge N/A arg1 0.05 N/A N/A N/A abs N/A arg1 arg2 fudge N/A N/A TestFailError N/A msg N/A %s and %s not within %s units of each other. N/A arg1 arg2 fudge N/A assertRaises N/A N/A self exception method args kwargs msg N/A None None None N/A N/A Assert that a method and the given args will raise the given
        exception.

        Args:
            exception: The exception class the method should raise.
            method:    the method to call with the given arguments.
            args: a tuple of positional arguments.
            kwargs: a dictionary of keyword arguments
            msg: optional message string to be used if assertion fails.
         N/A args N/A args N/A N/A kwargs N/A kwargs N/A N/A N/A N/A rv N/A method args kwargs N/A N/A N/A exception N/A N/A N/A TestFailError N/A msg N/A %r did not raise %r. N/A method exception N/A N/A failIfEqual assertNotEqual N/A failIfNotEqual assertEqual N/A assertNotTrue assertFalse N/A assertNotFalse assertTrue N/A failUnlessRaises assertRaises save_text N/A N/A self text filename N/A None N/A N/A Save some text into a file in the results location.

        This may be called multiple times and the file will be appended to.

        Arguments::

            text:  A blob of text as a string.
            filename:  the base name of the file to write. Default is test name plus timestamp.
         N/A N/A filename None N/A N/A filename N/A N/A self get_filename saved txt N/A fo N/A N/A UserFile UserFile filename a N/A N/A N/A N/A N/A fo write N/A str text N/A N/A N/A N/A fo close N/A open_data_file N/A N/A cls fname N/A N/A N/A Open a data file located in the same directory as the test case
        implmentation.

        Return the file object (actually a UserFile object). Make sure you
        close it.
         N/A fullname N/A N/A N/A os path join N/A N/A N/A os path dirname N/A N/A N/A sys modules N/A N/A cls __module__ __file__ fname N/A N/A N/A UserFile UserFile fullname N/A classmethod save_data N/A N/A self data note N/A None N/A N/A Send an add_data message to the report.

        The object is serialized to JSON, so only use basic types.

        Arguments:
            data: any python object.
            note: A text note describing the data for future users (optional).
         N/A N/A N/A N/A self _report add_data data note N/A N/A PreReq N/A object N/A N/A A holder for test prerequisite.

    Used to hold the definition of a prerequisite test. A prerequisite is a
    Test implementation class plus any arguments it may be called with.
    No arguments means ANY arguments.
     __init__ N/A N/A self implementation args kwargs N/A None None N/A N/A N/A self implementation N/A str implementation N/A N/A self args N/A args N/A N/A N/A self kwargs N/A kwargs N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r, args=%r, kwargs=%r) N/A N/A N/A self __class__ __name__ N/A self implementation N/A self args N/A self kwargs N/A __str__ N/A N/A self N/A N/A N/A N/A repr_test N/A self implementation N/A self args N/A self kwargs N/A N/A TestEntry N/A object N/A N/A Helper class used to run a Test with arguments and store the result.

    Holds an instance of a Test class and the parameters it will be called
    with.    This actually calls the test, and stores the result value for
    later summary.    It also supports pre-requisite checking.
     __init__ N/A N/A self inst args kwargs autoadded N/A None None False N/A N/A N/A self inst inst N/A N/A self args N/A args N/A N/A N/A self kwargs N/A kwargs N/A N/A N/A self _result N/A TestResult N/A constants INCOMPLETE N/A N/A self autoadded autoadded N/A run N/A N/A self config N/A None N/A N/A Invoke the test with its arguments. The config argument is passed
        when run directly from a TestRunner, but not from a TestSuite. It is
        ignored here.
         N/A N/A N/A N/A self _result N/A N/A self inst N/A self args N/A self kwargs N/A N/A N/A KeyboardInterrupt N/A N/A N/A self _result N/A TestResult N/A constants ABORT N/A N/A N/A self _result N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A self inst N/A other inst N/A _setResult N/A N/A self val N/A N/A N/A N/A self _result val N/A N/A result N/A property N/A N/A N/A s N/A N/A s _result _setResult doc The test rusult enumeration. match_test N/A N/A self name args kwargs N/A N/A N/A Test signature matcher.

        Determine if a test name and set of arguments matches this test.
         N/A N/A N/A name args kwargs N/A N/A N/A self inst test_name N/A self args N/A self kwargs N/A match_prerequisite N/A N/A self prereq N/A N/A N/A Does this test match the specified prerequisite?

        Returns True if this test matches the supplied PreReq object.
         N/A N/A N/A N/A N/A self inst test_name N/A self args N/A self kwargs N/A N/A prereq implementation N/A prereq args N/A prereq kwargs N/A _get_prerequisites N/A N/A self N/A N/A N/A N/A N/A self inst prerequisites N/A N/A prerequisites N/A property _get_prerequisites get_signature N/A N/A self N/A N/A N/A Return a unique identifier for this test entry. N/A N/A N/A N/A self _signature N/A N/A N/A AttributeError N/A N/A arg_sig N/A repr N/A N/A self args N/A self kwargs N/A N/A self _signature N/A N/A id N/A N/A self inst __class__ arg_sig N/A N/A self _signature N/A N/A signature N/A property get_signature doc unique signature string of test. abort N/A N/A self N/A N/A N/A Abort the test suite.

        Causes this this test, and the suite, to be aborted.
         N/A N/A self _result N/A N/A N/A self inst abort Abort forced by suite runner. N/A N/A self _result N/A N/A test_name N/A property N/A N/A N/A s N/A N/A N/A s inst test_name __repr__ N/A N/A self N/A N/A N/A N/A repr_test N/A N/A self inst test_name N/A self args N/A self kwargs N/A __str__ N/A N/A self N/A N/A N/A N/A %s: %s N/A N/A N/A self __repr__ N/A self _result N/A N/A SuiteEntry N/A TestEntry N/A N/A Entry object that wraps other Suite objects.

    Used when sub-suites are run as test cases.
     _get_result N/A N/A self N/A N/A N/A N/A self _results N/A N/A self inst results N/A res N/A self _results N/A N/A N/A N/A res not_passed N/A N/A N/A self _result res N/A res N/A N/A self _result N/A TestResult N/A constants PASSED N/A N/A TestResult N/A constants PASSED N/A _setResult N/A N/A self val N/A N/A N/A N/A self _result val N/A N/A result N/A property N/A N/A N/A s N/A N/A N/A s _get_result _setResult None The test rusult enumeration PASSED if all tests in suite passed. N/A results N/A property N/A N/A N/A s N/A N/A s _results None None The actual list of test results. N/A PruneEnd N/A N/A n l N/A N/A N/A N/A l N/A n N/A TestEntrySeries N/A TestEntry N/A N/A 
    Provides an efficient means to add many test case instances without
    having to actually instantiate a TestEntry at suite build time.
     __init__ N/A N/A self testinstance N chooser filter args kwargs N/A N/A pycopia combinatorics N/A N/A self inst testinstance N/A N/A self args N/A args N/A N/A N/A self kwargs N/A kwargs N/A N/A N/A self _sig N/A N/A methods MethodSignature N/A testinstance execute N/A N/A self result N/A TestResult N/A constants INCOMPLETE N/A chooser N/A chooser PruneEnd N/A arglist N/A N/A args N/A N/A N/A N/A arglist extend args N/A kwargs N/A N/A N/A name default N/A N/A self _sig kwarguments N/A N/A N/A N/A val N/A kwargs N/A name N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A arglist append val N/A N/A self _counter N/A N/A combinatorics ListCounter N/A N/A combinatorics prune N arglist chooser N/A filter N/A N/A N/A callable filter N/A N/A self _filter filter N/A N/A N/A self _filter N/A N/A N/A N/A args kwargs True N/A N/A test_name N/A property N/A N/A N/A s N/A N/A N/A s inst test_name match_prerequisite N/A N/A self prereq N/A N/A N/A Does this test match the specified prerequisite?

        Returns True if this test name matches the supplied PreReq object.
        Only the name is checked for series tests, since the arguments may vary.
         N/A N/A N/A N/A self inst test_name N/A prereq implementation N/A run N/A N/A self config N/A None N/A N/A resultset N/A N/A constants PASSED N/A constants FAILED N/A constants EXPECTED_FAIL N/A constants INCOMPLETE 0 0 0 0 N/A argset N/A self _counter N/A N/A kwargs N/A N/A N/A self _sig get_keyword_arguments argset N/A N/A N/A self _filter kwargs N/A N/A entry N/A TestEntry N/A self inst N/A kwargs N/A entryresult N/A N/A entry run N/A N/A resultset N/A N/A int entryresult 1 N/A N/A N/A resultset N/A N/A constants FAILED 0 N/A N/A N/A self result N/A TestResult N/A constants FAILED N/A N/A N/A N/A resultset N/A N/A constants INCOMPLETE 0 N/A N/A N/A self result N/A TestResult N/A constants INCOMPLETE N/A N/A N/A N/A resultset N/A N/A constants PASSED 0 N/A N/A N/A self result N/A TestResult N/A constants PASSED N/A N/A self result N/A N/A repr_test N/A N/A name args kwargs N/A N/A N/A Produce repr form of test case signature.

    Returns a Test instantiation plus arguments as text (repr).
     N/A N/A %s()(%s) N/A name N/A repr_args args kwargs N/A repr_args N/A N/A args kwargs N/A N/A N/A Stringify a set of arguments.

    Arguments:
        args: tuple of arguments as a function would see it.
        kwargs: dictionary of keyword arguments as a function would see it.
    Returns:
        String as you would write it in a script.
     N/A args_s N/A args N/A N/A kwargs %s,  %s N/A N/A ,  join N/A map repr args N/A kws N/A N/A ,  join N/A map N/A N/A N/A it N/A N/A %s=%r N/A N/A it N/A 0 N/A it N/A 1 N/A N/A kwargs items N/A N/A %s%s N/A args_s kws N/A parse_args N/A N/A arguments N/A N/A N/A Take a string of arguments and keyword arguments and convert back to
    objects.
     N/A ANY None _ArgGetter N/A N/A N/A args kwargs N/A N/A N/A args kwargs N/A N/A funcstr N/A args, kwargs = _ArgGetter(%s)
 arguments N/A funcstr N/A locals N/A N/A args kwargs N/A timestamp N/A N/A t N/A N/A N/A standard timesstamp string creator. N/A N/A N/A timelib strftime %a, %d %b %Y %H:%M:%S %Z N/A N/A timelib localtime t N/A TestSuite N/A object N/A N/A A Test holder and runner.

    A TestSuite contains a set of test cases (subclasses of Test class) that
    are run sequentially, in the order added. It monitors abort status of
    each test, and aborts the suite if required.

    To run it, create a TestSuite object (or a subclass with some methods
    overridden), add tests with the `add_test()` method, and then call the
    instance. The 'initialize()' method will be run with the arguments given
    when called.
     __init__ N/A N/A self cf nested name N/A 0 None N/A N/A N/A self config cf N/A N/A self report N/A cf report N/A N/A self _debug N/A N/A cf flags DEBUG N/A N/A self _tests N/A N/A N/A self _testset N/A set N/A N/A self _multitestset N/A set N/A N/A self _nested nested N/A cl N/A self __class__ N/A N/A self test_name N/A name N/A %s.%s N/A N/A cl __module__ N/A cl __name__ N/A N/A self result None N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self _tests N/A _get_results N/A N/A self N/A N/A N/A N/A map N/A N/A N/A t N/A N/A t result N/A self _tests N/A N/A results N/A property _get_results _add_with_prereq N/A N/A self entry _auto N/A False N/A N/A Add a TestEntry instance to the list of tests.

        Also adds any prerequisites, if not already present, recursively.
        Don't automatically add prerequisites if debug level is 3 or more.
         N/A N/A N/A self _debug 3 N/A N/A prereq N/A N/A N/A entry inst OPTIONS prerequisites N/A N/A impl N/A prereq implementation N/A N/A . impl N/A N/A impl N/A N/A N/A N/A N/A sys modules N/A N/A N/A N/A entry inst __class__ __module__ __name__ . impl N/A N/A prereq implementation impl N/A pretestclass N/A N/A module get_object impl N/A N/A N/A pretestclass set_test_options N/A preentry N/A TestEntry N/A pretestclass N/A self config N/A prereq args N/A prereq kwargs True N/A N/A presig argsig N/A N/A preentry get_signature N/A N/A presig N/A self _multitestset N/A N/A N/A N/A self _add_with_prereq preentry True N/A testcaseid N/A N/A entry get_signature N/A N/A _auto N/A N/A N/A N/A N/A self _tests append entry N/A N/A N/A testcaseid N/A self _testset N/A N/A N/A N/A N/A self _tests append entry N/A N/A N/A N/A self _testset add testcaseid N/A add_test N/A N/A self _testclass N/A args kwargs N/A N/A Add a Test subclass and its arguments to the suite.

    Appends a test object in this suite. The test's `execute()` will be
    called (at the appropriate time) with the arguments supplied here. If
    the test case has a prerequisite defined it is checked for existence in
    the suite, and an exception is raised if it is not found.
     N/A N/A isinstance _testclass str N/A N/A _testclass N/A N/A module get_class _testclass N/A N/A N/A _testclass set_test_options N/A testinstance N/A _testclass N/A self config N/A entry N/A TestEntry testinstance args kwargs False N/A N/A N/A self _add_with_prereq entry N/A add_tests N/A N/A self _testclasslist N/A args kwargs N/A N/A Add a list of tests at once.

        Similar to add_test method, but adds all test case classes found in the
        given list.  Arguments are common to all tests.
        If object is a tuple it should be a (testclass, tuple, dictionary) of
        positional and keyword arguments.
         N/A N/A isinstance _testclasslist list N/A testclass _testclasslist N/A N/A N/A N/A type testclass tuple N/A N/A N/A N/A self add_test testclass N/A N/A N/A N/A self add_test testclass args kwargs N/A add_test_from_result N/A N/A self dbtestresult N/A N/A N/A Add a Test from information taken from stored test result.

        This basically means duplicate the test call that originated that test
        result.
         N/A testclass N/A N/A module get_class N/A dbtestresult testimplementation N/A N/A N/A testclass set_test_options N/A N/A args kwargs N/A parse_args N/A dbtestresult arguments N/A testinstance N/A testclass N/A self config N/A entry N/A TestEntry testinstance args kwargs False N/A N/A N/A self _add_with_prereq entry N/A add_test_series N/A N/A self _testclass N chooser filter args kwargs N/A 100 None None None None N/A N/A Add a Test case as a series.

        The arguments must be lists of possible values for each parameter. The
        args and kwargs arguments are lists that are combined in all possible
        combinations, except pruned to N values. The pruning policy can be
        adjusted by the chooser callback, and the N value itself.

        Args:
            testclass (class): the Test class object (subclass of core.Test).

            N (integer): Maximum iterations to take from resulting set. Default
                    is 100 just to be safe.

            chooser (callable): callable that takes one number and a list
                    argument, returns a list of the specified (N) length.
                    Default is to chop off the top end of the list.

            filter (callable): callable that takes a set of arguments with the
                    same semantics as the Test.execute() method and returns True or
                    False to indicate if that combination should be included in the
                    test. You might want to set a large N if you use this.

            args (tuple): tuple of positional arguments, each argument is a list.
                                        example: args=([1,2,3], [4,5]) maps to positional
                                        argumnts of execute() method of Test class.

            kwargs (dict): Dictionary of keyword arguments, with list of values
                    as value.
                                        example: kwargs={"arg1":["a", "b", "c"]}
                                        maps to keyword arguments of execute() method of Test
                                        class.
         N/A N/A isinstance _testclass str N/A N/A _testclass N/A N/A module get_class _testclass N/A N/A N/A _testclass set_test_options N/A testinstance N/A _testclass N/A self config N/A N/A N/A entry N/A TestEntrySeries testinstance N chooser filter args kwargs N/A N/A N/A ValueError N/A err N/A N/A N/A N/A self info N/A addTestSeries Error: %s. Not adding %s as series. N/A err N/A _testclass __name__ N/A N/A N/A mysig myargsig N/A N/A entry get_signature N/A N/A N/A N/A self _multitestset add mysig N/A N/A N/A self _add_with_prereq entry N/A add_suite N/A N/A self suite test_name N/A None N/A N/A Add an entire suite of tests to this suite.

    Appends an embedded test suite in this suite. This is called a sub-suite
    and is treated as a single test by this containing suite.
     N/A N/A isinstance suite str N/A N/A suite N/A N/A module get_class suite N/A N/A N/A type suite N/A type Test N/A N/A suite N/A suite N/A self config 1 N/A N/A N/A suite config N/A self config N/A N/A suite _nested 1 N/A N/A N/A N/A self _tests append N/A SuiteEntry suite N/A test_name N/A N/A N/A suite test_name test_name N/A N/A N/A suite test_name N/A %s-%s N/A N/A suite test_name N/A N/A len N/A self _tests 1 N/A suite N/A add N/A N/A self klass N/A args kwargs N/A N/A Add a Suite or a Test to this TestSuite.

    Most general method to add test case classes or other test suites.
     N/A N/A N/A type klass type N/A N/A N/A issubclass klass Test N/A N/A N/A N/A self addTest klass args kwargs N/A N/A N/A issubclass klass TestSuite N/A N/A N/A N/A self add_suite klass args kwargs N/A N/A ValueError TestSuite.add: invalid class type. N/A N/A ValueError TestSuite.add: need a class type. N/A get_test_entries N/A N/A self name N/A args kwargs N/A N/A Get a list of test entries that matches the signature.

        Return a list of Test entries that match the name and calling
        arguments.
         N/A entry N/A self _tests N/A N/A N/A N/A entry matches name args kwargs N/A N/A N/A entry N/A add_arguments N/A N/A self name args kwargs N/A N/A N/A Add calling arguments to an existing test entry that has no
        arguments.
         N/A entry N/A N/A self get_test_entries name N/A N/A N/A N/A entry add_arguments args kwargs N/A info N/A N/A self msg N/A N/A N/A Informational messages for the report.

        Record non-critical information in the report object.
         N/A N/A N/A N/A self report info msg 1 N/A report_build N/A N/A self buildstring N/A N/A N/A Report any build information. Usually a version or build number.

        The buildstring parameter must match the following pattern::

            <projectname>[ .:]<major>.<minor>.<subminor>.<build>
         N/A N/A N/A N/A self report add_message BUILD buildstring 1 N/A _get_prerequisites N/A N/A self N/A N/A N/A Get the list of prerequisites.

        This is here for polymorhism with Test objects. Always return empty list.
         N/A N/A N/A N/A prerequisites N/A property _get_prerequisites run N/A N/A self config N/A None N/A N/A Define the runnable interface. May be called by the test runner. N/A N/A config None N/A N/A N/A self config config N/A N/A self report N/A config report N/A N/A self _debug N/A N/A config flags DEBUG N/A N/A N/A self __call__ N/A get_start_timestamp N/A N/A self N/A N/A N/A N/A N/A timelib strftime %m%d%H%M%S N/A N/A timelib localtime N/A self starttime N/A __call__ N/A N/A self N/A args kwargs N/A N/A Invoke the test suite.

        Calling the instance is the primary way to invoke a suite of tests.
        Any supplied parameters are passed onto the suite's initialize()
        method.

        It will then run all TestEntry, report on interrupts, and check for
        abort conditions. It will also skip tests whose prerequisites did not
        pass. If the debug level is 2 or more then the tests are not skipped.

        If a Test returns None (Python's default), it is reported
        as a failure since it was not written correctly.
         N/A N/A N/A N/A self config register_testsuite N/A self test_name N/A N/A self starttime N/A N/A timelib now N/A N/A N/A N/A N/A self _initialize args kwargs N/A N/A N/A TestSuiteAbort N/A N/A N/A N/A self _finalize N/A rv N/A constants INCOMPLETE N/A N/A N/A N/A self _run_tests N/A rv N/A N/A self _finalize N/A endtime N/A N/A timelib now N/A N/A N/A N/A self config register_testsuite None N/A N/A N/A N/A self report add_message STARTTIME N/A self starttime 1 N/A N/A N/A N/A self report add_message ENDTIME endtime 1 N/A rv N/A _initialize N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self report add_heading N/A self test_name 1 N/A N/A N/A N/A self config flags VERBOSE N/A N/A s N/A Tests in suite: N/A N/A i entry N/A enumerate N/A self _tests N/A N/A N/A N/A s append N/A %3d. %r N/A N/A i 1 entry N/A N/A N/A N/A self report info N/A N/A join s 1 N/A s N/A N/A N/A N/A N/A self initialize args kwargs N/A N/A N/A KeyboardInterrupt N/A N/A N/A N/A self info Suite aborted by user in initialize(). N/A N/A TestSuiteAbort Interrupted in suite initialize. N/A N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A self _debug N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A N/A debugger post_mortem tb ex val N/A N/A N/A self info N/A Suite failed to initialize: %s (%s) N/A ex val N/A N/A TestSuiteAbort val N/A check_prerequisites N/A N/A self currententry upto N/A N/A N/A Verify that the prerequisite test passed.

        Verify any prerequisites are met at run time.
         N/A prereq N/A currententry prerequisites N/A N/A entry N/A N/A self _tests N/A upto N/A N/A N/A N/A entry match_prerequisite prereq N/A N/A N/A N/A N/A entry result is_passed N/A N/A N/A N/A N/A N/A N/A self report add_heading N/A N/A currententry inst test_name 2 N/A N/A N/A N/A self report diagnostic N/A Prerequisite: %s N/A prereq 2 N/A N/A N/A N/A self report incomplete Prerequisite did not pass. 2 N/A N/A currententry result N/A TestResult N/A constants INCOMPLETE N/A False N/A True N/A _run_tests N/A N/A self N/A N/A N/A N/A i entry N/A enumerate N/A self _tests N/A N/A N/A N/A N/A self _debug 2 N/A N/A N/A self check_prerequisites entry i N/A N/A N/A N/A N/A N/A self config flags VERBOSE N/A N/A N/A N/A N/A N/A self config logfile note N/A %s: %r N/A N/A N/A timelib localtimestamp entry N/A N/A N/A rv N/A N/A entry run N/A N/A N/A KeyboardInterrupt N/A N/A N/A self _nested N/A N/A N/A TestSuiteAbort Sub-suite aborted by user. N/A N/A N/A N/A N/A N/A self config UI yes_no Test interrupted. Abort suite? N/A N/A N/A N/A self info Test suite aborted by user. N/A N/A N/A TestSuiteAbort N/A err N/A N/A N/A N/A self info N/A Suite aborted by test %s (%s). N/A N/A entry test_name err N/A N/A entry result N/A TestResult N/A constants INCOMPLETE N/A rv N/A constants ABORT N/A N/A N/A rv None N/A N/A N/A N/A N/A self report diagnostic N/A warning: test returned None, assuming INCOMPLETE. Please fix the %s.execute() method. N/A entry test_name N/A rv N/A constants INCOMPLETE N/A N/A rv N/A constants ABORT N/A N/A N/A _finalize N/A N/A self N/A N/A N/A N/A N/A N/A N/A self finalize N/A N/A N/A KeyboardInterrupt N/A N/A N/A self _nested N/A N/A N/A TestSuiteAbort N/A N/A Suite {!r} aborted by user in finalize(). format N/A self test_name N/A N/A N/A N/A self info Suite aborted by user in finalize(). N/A N/A N/A N/A ex val tb N/A N/A sys exc_info N/A N/A self _debug N/A N/A print N/A N/A N/A debugger post_mortem tb ex val N/A N/A N/A self info N/A Suite failed to finalize: %s (%s) N/A ex val N/A N/A self _nested N/A N/A N/A TestSuiteAbort N/A N/A subordinate suite {!r} failed to finalize. format N/A self test_name N/A N/A N/A self _summarize N/A N/A N/A self _report_summary N/A N/A self result N/A _summarize N/A N/A self N/A N/A N/A Summarize the results.

        If any test failed, suite is also failed.
        If no failures, but any incomplete, suite is incomplete.
        If nothing passed (empty suite?) then suite is incomplete.
        If all tests passed, then suite is also passed.

         N/A resultset N/A N/A constants FAILED N/A constants PASSED N/A constants INCOMPLETE 0 0 0 N/A entry N/A self _tests N/A N/A N/A N/A entry result None N/A N/A N/A resultset N/A N/A constants INCOMPLETE 1 N/A N/A N/A N/A N/A entry result is_failed N/A N/A N/A resultset N/A N/A constants FAILED 1 N/A N/A N/A N/A N/A entry result is_incomplete N/A N/A N/A resultset N/A N/A constants INCOMPLETE 1 N/A N/A N/A N/A N/A entry result is_passed N/A N/A N/A resultset N/A N/A constants PASSED 1 N/A N/A N/A resultset N/A N/A constants FAILED 0 N/A N/A result N/A constants FAILED N/A N/A N/A N/A resultset N/A N/A constants INCOMPLETE 0 N/A N/A result N/A constants INCOMPLETE N/A N/A N/A N/A resultset N/A N/A constants PASSED 0 N/A N/A result N/A constants INCOMPLETE N/A N/A result N/A constants PASSED N/A N/A self result N/A TestResult result N/A _report_summary N/A N/A self N/A N/A N/A Sends the summarized result to the report. N/A N/A N/A N/A self report add_heading N/A Summarized results for %s. N/A N/A self __class__ __name__ 3 N/A entries N/A filter N/A N/A N/A te N/A N/A N/A te result None N/A self _tests N/A N/A N/A N/A self report add_summary entries N/A resultmsg N/A Aggregate result for %r. N/A N/A self test_name N/A result N/A int N/A self result N/A N/A N/A self _nested N/A N/A N/A result N/A constants PASSED N/A N/A N/A N/A N/A self report passed resultmsg N/A N/A N/A result N/A constants FAILED N/A N/A N/A N/A N/A self report failed resultmsg N/A N/A N/A result N/A constants INCOMPLETE N/A N/A N/A N/A N/A self report incomplete resultmsg N/A __str__ N/A N/A self N/A N/A N/A s N/A Tests in suite: N/A N/A N/A s extend N/A map str N/A self _tests N/A N/A N/A join s N/A initialize N/A N/A self N/A args kwargs N/A N/A initialize phase handler for suite-level initialization.

        Override this if you need to do some initialization just before the
        suite is run. This is called with the arguments given to the TestSuite
        object when it was called.
         N/A N/A finalize N/A N/A self N/A N/A N/A Run the finalize phase for suite level.

        Aborts the suite on error or interrupt. If this is a sub-suite then
        TestSuiteAbort is raised so that the top-level suite can handle it.

        Override this if you need to do some additional clean-up after the suite is run.
         N/A N/A N/A UseCase N/A object N/A N/A UseCase type.

    Used to define use cases, which typically involve constructing TestSuite
    and running it.  These are generally more complex operations, involving
    multiple steps. Each step can be made into a TestCase object, and assembled
    into a TestSuite using data from the configuration. Then run here.
     get_suite N/A N/A config N/A N/A N/A N/A TestSuite config name EmptySuite N/A staticmethod run N/A N/A cls config N/A N/A N/A suite N/A N/A cls get_suite config N/A N/A N/A suite run N/A classmethod N/A