Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpSub NameLoad Call AttributeLoad NameLoad attr keyword Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword BinOpAdd NameLoad Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword SubscriptLoad NameLoad Slice Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str Str Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Dict Str Str Str Str Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str ListLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str ListLoad Str Str ListLoad Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr ListComp AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad ListLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword BinOpAdd Str Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str ListLoad Str Str Index Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword NameLoad attr ImportFrom alias ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad TryFinally body TryExcept body With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Assign NameStore ListComp SubscriptLoad NameLoad Index Str comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad finalbody Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword BinOpAdd Str Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str ListLoad Str Str Index Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str ListLoad Str Str ListLoad Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword BinOpAdd Str Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword Num Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Str Str ListLoad Str Str Index Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword NameLoad attr Return Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr keyword NameLoad keyword SubscriptLoad NameLoad Index Str attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults vararg kwarg body Raise Call NameLoad Str decorator_list Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr NameLoad Str decorator_list
N/A N/A 
Tests for Run model.

 N/A datetime mock patch django.core.exceptions ValidationError moztrap.model.execution.models Run tests case RunTest N/A N/A case DBTestCase N/A test_unicode N/A N/A self N/A N/A N/A r N/A N/A N/A self F RunFactory name Firefox 10 final run N/A N/A N/A self assertEqual N/A unicode r Firefox 10 final run N/A test_invalid_dates N/A N/A self N/A N/A N/A Run validates that start date is not after end date. N/A today N/A N/A datetime date 2011 12 13 N/A r N/A N/A N/A self F RunFactory start today end N/A today N/A N/A datetime timedelta days 1 N/A N/A N/A self assertRaises ValidationError N/A N/A N/A N/A r full_clean N/A test_valid_dates N/A N/A self N/A N/A N/A Run validation allows start date before or same as end date. N/A today N/A N/A datetime date 2011 12 13 N/A r N/A N/A N/A self F RunFactory start today end N/A today N/A N/A datetime timedelta days 1 N/A N/A N/A r full_clean N/A test_parent N/A N/A self N/A N/A N/A A Run's ``parent`` property returns its ProductVersion. N/A r N/A N/A N/A self F RunFactory N/A N/A N/A self assertIs N/A r parent N/A r productversion N/A test_own_team N/A N/A self N/A N/A N/A If ``has_team`` is True, Run's team is its own. N/A r N/A N/A N/A N/A self F RunFactory create has_team True N/A u N/A N/A N/A N/A self F UserFactory create N/A N/A N/A N/A r own_team add u N/A N/A N/A self assertEqual N/A list N/A N/A N/A r team all N/A u N/A test_inherit_team N/A N/A self N/A N/A N/A If ``has_team`` is False, Run's team is its parent's. N/A r N/A N/A N/A N/A self F RunFactory create has_team False N/A u N/A N/A N/A N/A self F UserFactory create N/A N/A N/A N/A N/A r productversion team add u N/A N/A N/A self assertEqual N/A list N/A N/A N/A r team all N/A u N/A test_clone N/A N/A self N/A N/A N/A Cloning a run returns a new, distinct Run with "Cloned: " name. N/A r N/A N/A N/A N/A self F RunFactory create name A Run N/A new N/A N/A r clone N/A N/A N/A self assertNotEqual new r N/A N/A N/A self assertIsInstance new N/A type r N/A N/A N/A self assertEqual N/A new name Cloned: A Run N/A test_clone_sets_draft N/A N/A self N/A N/A N/A Clone of active run is still draft. N/A r N/A N/A N/A N/A self F RunFactory create status active N/A new N/A N/A r clone N/A N/A N/A self assertEqual N/A new status draft N/A test_clone_for_series N/A N/A self N/A N/A N/A Clone of active run series makes a new run that is ready to run. N/A r N/A N/A N/A N/A self F RunFactory create status active is_series True N/A new N/A N/A r clone_for_series build ABERCIE N/A N/A N/A self assertEqual N/A new status draft N/A N/A N/A self assertEqual N/A new name Test Run - Build: ABERCIE N/A N/A N/A self assertEqual N/A new is_series False N/A N/A N/A self assertEqual N/A new series r N/A N/A N/A self assertEqual N/A new build ABERCIE N/A test_default_draft N/A N/A self N/A N/A N/A New run defaults to draft state. N/A r N/A N/A N/A N/A self F RunFactory create N/A N/A N/A self assertEqual N/A r status draft N/A test_clone_included_suite N/A N/A self N/A N/A N/A Cloning a run clones member RunSuites. N/A rs N/A N/A N/A N/A self F RunSuiteFactory create N/A new N/A N/A N/A rs run clone N/A N/A N/A self assertNotEqual N/A N/A N/A new runsuites get rs N/A test_clone_no_run_caseversions N/A N/A self N/A N/A N/A Cloning a run does not clone member RunCaseVersions. N/A rcv N/A N/A N/A N/A self F RunCaseVersionFactory create N/A new N/A N/A N/A rcv run clone N/A N/A N/A self assertEqual N/A N/A N/A new runcaseversions count 0 N/A test_clone_environments N/A N/A self N/A N/A N/A Cloning a Run clones its environments. N/A r N/A N/A N/A self F RunFactory environments N/A OS N/A OS X Linux N/A new N/A N/A r clone N/A N/A N/A self assertEqual N/A len N/A N/A N/A new environments all 2 N/A test_clone_environments_narrowed N/A N/A self N/A N/A N/A Cloning a Run clones its environments exactly, even if narrowed. N/A envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS N/A OS X Linux N/A pv N/A N/A N/A self F ProductVersionFactory environments envs N/A r N/A N/A N/A self F RunFactory productversion pv environments N/A envs N/A 1 N/A N/A N/A self assertEqual N/A len N/A N/A N/A r environments all 1 N/A new N/A N/A r clone N/A N/A N/A self assertEqual N/A len N/A N/A N/A new environments all 1 N/A test_clone_team N/A N/A self N/A N/A N/A Cloning a Run clones its team. N/A r N/A N/A N/A self F RunFactory team N/A One Two N/A new N/A N/A r clone N/A N/A N/A self assertEqual N/A len N/A N/A N/A new team all 2 N/A test_gets_productversion_envs N/A N/A self N/A N/A N/A A new test run inherits the environments of its product version. N/A pv N/A N/A N/A N/A self F ProductVersionFactory create environments N/A OS N/A Windows Linux N/A r N/A N/A N/A N/A self F RunFactory create productversion pv N/A N/A N/A self assertEqual N/A set N/A N/A N/A r environments all N/A set N/A N/A N/A pv environments all N/A test_inherits_env_removal N/A N/A self N/A N/A N/A Removing an env from a productversion cascades to run. N/A envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS N/A OS X Linux N/A pv N/A N/A N/A N/A self F ProductVersionFactory create environments envs N/A run N/A N/A N/A N/A self F RunFactory create productversion pv N/A N/A N/A pv remove_envs N/A envs N/A 0 N/A N/A N/A self assertEqual N/A set N/A N/A N/A run environments all N/A set N/A envs N/A 1 N/A test_draft_run_inherits_env_addition N/A N/A self N/A N/A N/A Adding an env to a productversion cascades to a draft run. N/A envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS N/A OS X Linux N/A pv N/A N/A N/A N/A self F ProductVersionFactory create environments N/A envs N/A 1 N/A run N/A N/A N/A N/A self F RunFactory create productversion pv status draft N/A N/A N/A pv add_envs N/A envs N/A 0 N/A N/A N/A self assertEqual N/A set N/A N/A N/A run environments all N/A set envs N/A test_active_run_does_not_inherit_env_addition N/A N/A self N/A N/A N/A Adding env to a productversion does not cascade to an active run. N/A envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS N/A OS X Linux N/A pv N/A N/A N/A N/A self F ProductVersionFactory create environments N/A envs N/A 1 N/A run N/A N/A N/A N/A self F RunFactory create productversion pv status active N/A N/A N/A pv add_envs N/A envs N/A 0 N/A N/A N/A self assertEqual N/A set N/A N/A N/A run environments all N/A set N/A envs N/A 1 N/A test_result_summary N/A N/A self N/A N/A N/A ``result_summary`` returns dict summarizing result states. N/A r N/A N/A N/A self F RunFactory N/A rcv1 N/A N/A N/A self F RunCaseVersionFactory run r N/A rcv2 N/A N/A N/A self F RunCaseVersionFactory run r N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 status assigned N/A N/A N/A N/A self F ResultFactory runcaseversion rcv2 status started N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 status passed N/A N/A N/A N/A self F ResultFactory runcaseversion rcv2 status failed N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 status failed N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 status blocked N/A N/A N/A N/A self F ResultFactory runcaseversion rcv2 status invalidated N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 status invalidated N/A N/A N/A N/A self F ResultFactory runcaseversion rcv2 status invalidated N/A N/A N/A self assertEqual N/A N/A r result_summary N/A passed failed blocked invalidated 1 2 1 3 N/A test_result_summary_specific N/A N/A self N/A N/A N/A ``result_summary`` doesn't return results from other runs. N/A r N/A N/A N/A self F RunFactory N/A rcv N/A N/A N/A self F RunCaseVersionFactory run r N/A N/A N/A N/A self F ResultFactory runcaseversion rcv status passed N/A r2 N/A N/A N/A self F RunFactory N/A N/A N/A self assertEqual N/A N/A r2 result_summary N/A passed failed blocked invalidated 0 0 0 0 N/A test_completion_percentage N/A N/A self N/A N/A N/A ``completion`` returns fraction of case/env combos completed. N/A envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS N/A Windows Linux N/A pv N/A N/A N/A self F ProductVersionFactory environments envs N/A run N/A N/A N/A self F RunFactory productversion pv N/A rcv1 N/A N/A N/A self F RunCaseVersionFactory run run caseversion__productversion pv N/A rcv2 N/A N/A N/A self F RunCaseVersionFactory run run caseversion__productversion pv N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 environment N/A envs N/A 0 status passed N/A N/A N/A N/A self F ResultFactory runcaseversion rcv1 environment N/A envs N/A 0 status failed N/A N/A N/A N/A self F ResultFactory runcaseversion rcv2 environment N/A envs N/A 1 status started N/A N/A N/A self assertEqual N/A N/A run completion 0.25 N/A test_completion_percentage_empty N/A N/A self N/A N/A N/A If no runcaseversions, ``completion`` returns zero. N/A run N/A N/A N/A self F RunFactory N/A N/A N/A self assertEqual N/A N/A run completion 0 N/A N/A RunActivationTest N/A N/A case DBTestCase N/A N/A Tests for activating runs and locking-in runcaseversions. setUp N/A N/A self N/A N/A N/A Set up envs, product and product versions used by all tests. N/A N/A self envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS Browser N/A Linux Windows N/A Firefox Chrome N/A N/A self p N/A N/A N/A N/A self F ProductFactory create N/A N/A self pv8 N/A N/A N/A N/A self F ProductVersionFactory create product N/A self p version 8.0 environments N/A self envs N/A N/A self pv9 N/A N/A N/A N/A self F ProductVersionFactory create product N/A self p version 9.0 environments N/A self envs N/A assertCaseVersions N/A N/A self run caseversions N/A N/A N/A Assert that ``run`` has (only) ``caseversions`` in it (any order). N/A N/A N/A self assertEqual N/A set N/A N/A N/A rcv caseversion id N/A rcv N/A N/A N/A run runcaseversions all N/A set N/A N/A cv id N/A cv caseversions N/A assertOrderedCaseVersions N/A N/A self run caseversions N/A N/A N/A Assert that ``run`` has (only) ``caseversions`` in it (in order). N/A N/A N/A self assertEqual N/A N/A N/A rcv caseversion id N/A rcv N/A N/A N/A run runcaseversions all N/A N/A cv id N/A cv caseversions N/A test_productversion N/A N/A self N/A N/A N/A Selects test case version for run's product version. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv1 N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv9 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A tcv1 N/A test_draft_not_included N/A N/A self N/A N/A N/A Only active test cases are considered. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status draft N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_soft_deleted_not_included N/A N/A self N/A N/A N/A Only active test cases are considered. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A cv N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A cv delete N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_only_active_suite N/A N/A self N/A N/A N/A Only test cases in an active suite are considered. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status draft N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A ts1 N/A N/A N/A N/A self F SuiteFactory create product N/A self p status locked N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts1 case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_wrong_product_version_not_included N/A N/A self N/A N/A N/A Only caseversions for correct productversion are considered. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv9 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_no_environments_in_common N/A N/A self N/A N/A N/A Caseversion with no env overlap with run will not be included. N/A N/A N/A N/A N/A self pv8 environments add N/A self envs N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv1 N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A N/A N/A tcv1 remove_envs N/A N/A self envs N/A 2 N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A r remove_envs N/A N/A self envs N/A 2 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_ordering N/A N/A self N/A N/A N/A Suite/case ordering reflected in runcaseversion order. N/A tc1 N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv1 N/A N/A N/A N/A self F CaseVersionFactory create case tc1 productversion N/A self pv8 status active N/A tc2 N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv2 N/A N/A N/A N/A self F CaseVersionFactory create case tc2 productversion N/A self pv8 status active N/A tc3 N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv3 N/A N/A N/A N/A self F CaseVersionFactory create case tc3 productversion N/A self pv8 status active N/A tc4 N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A tcv4 N/A N/A N/A N/A self F CaseVersionFactory create case tc4 productversion N/A self pv8 status active N/A ts1 N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts1 case tc3 order 1 N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts1 case tc4 order 2 N/A ts2 N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts2 case tc1 order 1 N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts2 case tc2 order 2 N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts2 run r order 1 N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts1 run r order 2 N/A N/A N/A r activate N/A N/A N/A self assertOrderedCaseVersions r N/A tcv1 tcv2 tcv3 tcv4 N/A test_sets_status_active N/A N/A self N/A N/A N/A Sets status of run to active. N/A r N/A N/A N/A N/A self F RunFactory create status draft N/A N/A N/A r activate N/A N/A N/A self assertEqual N/A N/A N/A self refresh r status active N/A test_already_active N/A N/A self N/A N/A N/A Has no effect on already-active run. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status active N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_run_series_no_runcaseversions N/A N/A self N/A N/A N/A Run series don't get runcaseversions. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft is_series True N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A test_disabled N/A N/A self N/A N/A N/A Sets disabled run to active but does not create runcaseversions. N/A tc N/A N/A N/A N/A self F CaseFactory create product N/A self p N/A N/A N/A N/A N/A self F CaseVersionFactory create case tc productversion N/A self pv8 status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case tc N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status disabled N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertCaseVersions r N/A N/A N/A N/A self assertEqual N/A N/A N/A self refresh r status active N/A test_removes_duplicate_runcaseversions N/A N/A self N/A N/A N/A 
        Re-activating a run that has duplicate runcaseversions removes them.

        If there is a result for any dupes, it will preserve the one with the
        latest result.

         N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A cv N/A N/A N/A N/A self F CaseVersionFactory create productversion N/A self pv8 status active name got a dup N/A rcv1 N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion cv N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv1 N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv1 N/A rcv2 N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion cv N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv2 N/A rcv3 N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status active caseversion__name no dup N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv1 caseversion case N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv3 caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A rcv N/A N/A N/A r runcaseversions all N/A N/A N/A self assertEqual N/A N/A rcv count 2 N/A N/A N/A self assertEqual N/A set rcv N/A set N/A rcv2 rcv3 N/A test_removes_unused_runcaseversions N/A N/A self N/A N/A N/A 
        Re-activating a run that has had a caseversion removed cleans them up.

        Environments are set to current values; all results are preserved.

         N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A rcv1 N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status active N/A N/A N/A N/A rcv1 environments remove N/A N/A self envs N/A 1 N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv1 N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv1 N/A rcv2 N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status active N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv2 N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv1 caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A N/A r environments remove N/A N/A self envs N/A 0 N/A N/A N/A r activate N/A rcv N/A N/A N/A r runcaseversions get N/A N/A N/A self assertEqual N/A set N/A N/A N/A rcv environments all N/A set N/A N/A self envs N/A 1 N/A N/A N/A self assertEqual N/A N/A N/A rcv results count 2 N/A test_updates_envs_on_previously_included_rcv N/A N/A self N/A N/A N/A Re-activating updates envs on previously-included caseversions. N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A rcv N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status active N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A N/A N/A rcv caseversion environments remove N/A N/A self envs N/A 0 N/A N/A N/A r activate N/A N/A N/A self assertEqual N/A set N/A N/A N/A rcv environments all N/A set N/A N/A self envs N/A 1 N/A test_removes_draft_caseversions_and_their_results N/A N/A self N/A N/A N/A Re-activating removes caseversions that are now draft. N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A rcv N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status draft N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r activate N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self model Result objects filter runcaseversion__run r count 0 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self model Result objects count 0 N/A test_removes_no_env_overlap_caseversions N/A N/A self N/A N/A N/A Re-activating removes caseversions that now have no env overlap. N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A rcv N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status draft N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A N/A N/A rcv caseversion environments remove N/A N/A self envs N/A 0 N/A N/A N/A N/A r environments remove N/A N/A self envs N/A 1 N/A N/A N/A r activate N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 0 N/A test_query_count_on_activate N/A N/A self N/A N/A N/A 
        Count number of queries needed for activation of complex run.

        Queries explained:
        ------------------

        Query 1: Get the environment ids from this run

            "SELECT `environments_environment`.`id` FROM
            `environments_environment` INNER JOIN
            `execution_run_environments` ON (`environments_environment`.`id`
             = `execution_run_environments`.`environment_id`) WHERE (
             `environments_environment`.`deleted_on` IS NULL AND
             `execution_run_environments`.`run_id` = 1 )",

        Query 2: Get the caseversion ids that SHOULD be included in this run,
            in order

            "SELECT DISTINCT cv.id as id
            FROM execution_run as r
                INNER JOIN execution_runsuite as rs
                    ON rs.run_id = r.id
                INNER JOIN library_suitecase as sc
                    ON rs.suite_id = sc.suite_id
                INNER JOIN library_suite as s
                    ON sc.suite_id = s.id
                INNER JOIN library_caseversion as cv
                    ON cv.case_id = sc.case_id
                    AND cv.productversion_id = r.productversion_id
                INNER JOIN library_caseversion_environments as cve
                    ON cv.id = cve.caseversion_id
            WHERE cv.status = 'active'
                AND s.status = 'active'
                AND rs.run_id = 1
                AND cve.environment_id IN (1,2,3,4)
            ORDER BY rs.order, sc.order
            ",

        Query 3-6: Get all the runcaseversions that are not in the result of
         Query 2
            to be used for delete. and then delete them.

            "SELECT `execution_runcaseversion`.`id`,
            `execution_runcaseversion`.`created_on`,
            `execution_runcaseversion`.`created_by_id`,
            `execution_runcaseversion`.`modified_on`,
            `execution_runcaseversion`.`modified_by_id`,
            `execution_runcaseversion`.`deleted_on`,
            `execution_runcaseversion`.`deleted_by_id`,
            `execution_runcaseversion`.`cc_version`,
            `execution_runcaseversion`.`run_id`, `execution_runcaseversion`
            .`caseversion_id`, `execution_runcaseversion`.`order` FROM
            `execution_runcaseversion` WHERE (`execution_runcaseversion`
            .`deleted_on` IS NULL AND `execution_runcaseversion`.`run_id` =
            1  AND NOT (`execution_runcaseversion`.`caseversion_id` IN (2,
            3, 4, 5, 6, 7))) ORDER BY `execution_runcaseversion`.`order` ASC",

            "SELECT `execution_result`.`id`, `execution_result`
            .`created_on`, `execution_result`.`created_by_id`,
            `execution_result`.`modified_on`,
            `execution_result`.`modified_by_id`,
            `execution_result`.`deleted_on`, `execution_result`
            .`deleted_by_id`, `execution_result`.`cc_version`,
            `execution_result`.`tester_id`, `execution_result`
            .`runcaseversion_id`, `execution_result`.`environment_id`,
            `execution_result`.`status`, `execution_result`.`comment`,
            `execution_result`.`is_latest`, `execution_result`.`review`,
            `execution_result`.`reviewed_by_id` FROM `execution_result`
            WHERE `execution_result`.`runcaseversion_id` IN (1)",

            "DELETE FROM `execution_runcaseversion_environments` WHERE
            `runcaseversion_id` IN (1)",

            "DELETE FROM `execution_runcaseversion` WHERE `id` IN (1)",

        Query 7: find duplicates in the existing rcvs, if they exist

            SELECT `execution_runcaseversion`.`caseversion_id`,
            COUNT(`execution_runcaseversion`.`caseversion_id`) AS
            `num_records` FROM `execution_runcaseversion` WHERE (
            `execution_runcaseversion`.`deleted_on` IS NULL AND
            `execution_runcaseversion`.`run_id` = 8 ) GROUP BY
            `execution_runcaseversion`.`caseversion_id` HAVING COUNT(
            `execution_runcaseversion`.`caseversion_id`) > 1  ORDER BY
            `execution_runcaseversion`.`order` ASC

        Query 8: Get existing runcaseversions with the caseversion ids so we
         can use
            Them to build the new RunCaseVersion objects we will only be
            updated
            with order in the bulk create.

            "SELECT `execution_runcaseversion`.`id`,
            `execution_runcaseversion`.`caseversion_id` FROM
            `execution_runcaseversion` WHERE (`execution_runcaseversion`
            .`deleted_on` IS NULL AND `execution_runcaseversion`.`run_id` =
            1 ) ORDER BY `execution_runcaseversion`.`order` ASC",

        Query 9: update order on existing rcvs

            "UPDATE `execution_runcaseversion` SET `modified_on` =
            '2013-03-15 01:00:08', `modified_by_id` = NULL, `order` = 4,
            `cc_version` = `execution_runcaseversion`.`cc_version` + 1 WHERE
             (`execution_runcaseversion`.`deleted_on` IS NULL AND
             `execution_runcaseversion`.`run_id` = 8  AND
             `execution_runcaseversion`.`caseversion_id` = 16 )",

        Query 10: bulk insert for RunCaseVersions

            "INSERT INTO `execution_runcaseversion` (`created_on`,
            `created_by_id`, `modified_on`, `modified_by_id`, `deleted_on`,
            `deleted_by_id`, `cc_version`, `run_id`, `caseversion_id`,
            `order`) VALUES ('2013-03-15 01:00:08', NULL,
            '2013-03-15 01:00:08', NULL, NULL, NULL, 0, 8, 13, 1),
            ('2013-03-15 01:00:08', NULL, '2013-03-15 01:00:08', NULL, NULL,
             NULL, 0, 8, 14, 2), ('2013-03-15 01:00:08', NULL,
             '2013-03-15 01:00:08', NULL, NULL, NULL, 0, 8, 15, 3),
             ('2013-03-15 01:00:08', NULL, '2013-03-15 01:00:08', NULL, NULL,
             NULL, 0, 8, 17, 5), ('2013-03-15 01:00:08', NULL,
             '2013-03-15 01:00:08', NULL, NULL, NULL, 0, 8, 18, 6)"

        Query 11: In order to add the runcaseversion_environment records,
            we need to have all the relevant runcaseversions and prefetch the
            environments for the caseversions

            "SELECT `execution_runcaseversion`.`id`,
            `execution_runcaseversion`.`created_on`,
            `execution_runcaseversion`.`created_by_id`,
            `execution_runcaseversion`.`modified_on`,
            `execution_runcaseversion`.`modified_by_id`,
            `execution_runcaseversion`.`deleted_on`,
            `execution_runcaseversion`.`deleted_by_id`,
            `execution_runcaseversion`.`cc_version`,
            `execution_runcaseversion`.`run_id`, `execution_runcaseversion`
            .`caseversion_id`, `execution_runcaseversion`.`order`,
            `library_caseversion`.`id`, `library_caseversion`.`created_on`,
            `library_caseversion`.`created_by_id`, `library_caseversion`
            .`modified_on`, `library_caseversion`.`modified_by_id`,
            `library_caseversion`.`deleted_on`, `library_caseversion`
            .`deleted_by_id`, `library_caseversion`.`cc_version`,
            `library_caseversion`.`status`, `library_caseversion`
            .`productversion_id`, `library_caseversion`.`case_id`,
            `library_caseversion`.`name`, `library_caseversion`
            .`description`, `library_caseversion`.`latest`,
            `library_caseversion`.`envs_narrowed` FROM
            `execution_runcaseversion` INNER JOIN `library_caseversion` ON (
            `execution_runcaseversion`.`caseversion_id` =
            `library_caseversion`.`id`) WHERE (`execution_runcaseversion`
            .`deleted_on` IS NULL AND `execution_runcaseversion`.`run_id` =
            1 ) ORDER BY `execution_runcaseversion`.`order` ASC",

        Query 12: This is the prefetch_related query used with Query 9.  Django
            makes a separate query and links them in-memory.

            "SELECT (`library_caseversion_environments`.`caseversion_id`) AS
             `_prefetch_related_val`, `environments_environment`.`id`,
             `environments_environment`.`created_on`,
             `environments_environment`.`created_by_id`,
             `environments_environment`.`modified_on`,
             `environments_environment`.`modified_by_id`,
             `environments_environment`.`deleted_on`,
             `environments_environment`.`deleted_by_id`,
             `environments_environment`.`cc_version`,
             `environments_environment`.`profile_id` FROM
             `environments_environment` INNER JOIN
             `library_caseversion_environments` ON (
             `environments_environment`.`id` =
             `library_caseversion_environments`.`environment_id`) WHERE (
             `environments_environment`.`deleted_on` IS NULL AND
             `library_caseversion_environments`.`caseversion_id` IN (2, 3,
             4, 5, 6, 7))",

        Query 13: runcaseversion_environments that already existed that
        pertain to
            the runcaseversions that are still relevant.

            "SELECT `execution_runcaseversion_environments`
            .`runcaseversion_id`, `execution_runcaseversion_environments`
            .`environment_id` FROM `execution_runcaseversion_environments`
            WHERE `execution_runcaseversion_environments`
            .`runcaseversion_id` IN (3, 4, 5, 2, 6, 7)",

        Query 14: Get the environments for this run so we can find the
        intersection
            with the caseversions.

            "SELECT `environments_environment`.`id` FROM
            `environments_environment` INNER JOIN
            `execution_run_environments` ON (`environments_environment`.`id`
             = `execution_run_environments`.`environment_id`) WHERE (
             `environments_environment`.`deleted_on` IS NULL AND
             `execution_run_environments`.`run_id` = 1 )",

        Query 15: Find the runcaseversion_environments that are no longer
        relevant.

            "SELECT `execution_runcaseversion_environments`.`id`,
            `execution_runcaseversion_environments`.`runcaseversion_id`,
            `execution_runcaseversion_environments`.`environment_id` FROM
            `execution_runcaseversion_environments`
            WHERE ((`execution_runcaseversion_environments`.`runcaseversion_id`
            = 2  AND `execution_runcaseversion_environments`.`environment_id`
            = 5 ))",

        Query 16: Delete the runcaseversion_environments that pertained to the
            caseversion that are no longer relevant.

            "DELETE FROM `execution_runcaseversion_environments` WHERE `id`
            IN (9)",

        Query 17: Bulk insert of runcaseversion_environment mappings.

            "INSERT INTO `execution_runcaseversion_environments`
            (`runcaseversion_id`, `environment_id`) VALUES (7, 3), (5, 4),
            (3, 1), (3, 3), (6, 4), (7, 4), (5, 2), (6, 1), (4, 4), (3, 2),
            (7, 1), (6, 3), (6, 2), (4, 3), (4, 2), (3, 4), (5, 1), (4, 1),
            (7, 2), (5, 3)",

        Query 18: Update the test run to make it active.

            "UPDATE `execution_run` SET `created_on` = '2012-11-20 00:11:25',
            `created_by_id` = NULL, `modified_on` = '2012-11-20 00:11:25',
            `modified_by_id` = NULL, `deleted_on` = NULL, `deleted_by_id` =
            NULL, `cc_version` = 1, `has_team` = 0, `status` = 'active',
            `productversion_id` = 1, `name` = 'Test Run', `description` = '',
            `start` = '2012-11-19', `end` = NULL, `build` = NULL,
            `is_series` = 0, `series_id` = NULL
            WHERE (`execution_run`.`deleted_on` IS NULL
            AND `execution_run`.`id` = 1
            AND `execution_run`.`cc_version` = 0 )"

         N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A old_cv N/A N/A N/A N/A self F CaseVersionFactory create name I shouldn't be here productversion N/A self pv8 status active N/A N/A N/A N/A self F RunCaseVersionFactory run r caseversion old_cv N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A cv_needed N/A N/A num N/A range 6 N/A N/A cv N/A N/A N/A N/A self F CaseVersionFactory create name N/A casey N/A str num productversion N/A self pv8 status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A cv case N/A N/A N/A cv_needed append cv N/A existing_rcv N/A N/A N/A self F RunCaseVersionFactory run r caseversion N/A cv_needed N/A 3 order 0 N/A old_env N/A N/A N/A N/A N/A self F EnvironmentFactory create_set N/A OS Browser N/A Atari RS-232 N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through runcaseversion existing_rcv environment old_env save django.conf settings django.db connection N/A N/A settings DEBUG True N/A N/A connection queries N/A N/A N/A N/A N/A N/A N/A N/A self assertNumQueries 17 N/A N/A N/A N/A r activate N/A selects N/A N/A x N/A sql N/A x N/A connection queries N/A N/A N/A x N/A sql startswith SELECT N/A inserts N/A N/A x N/A sql N/A x N/A connection queries N/A N/A N/A x N/A sql startswith INSERT N/A updates N/A N/A x N/A sql N/A x N/A connection queries N/A N/A N/A x N/A sql startswith UPDATE N/A deletes N/A N/A x N/A sql N/A x N/A connection queries N/A N/A N/A x N/A sql startswith DELETE N/A N/A N/A self assertEqual N/A len selects 10 N/A N/A N/A self assertEqual N/A len inserts 2 N/A N/A N/A self assertEqual N/A len updates 2 N/A N/A N/A self assertEqual N/A len deletes 3 N/A N/A N/A AssertionError N/A e N/A N/A e N/A N/A N/A settings DEBUG False N/A N/A N/A self refresh r N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 6 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through objects count 24 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion objects filter run r caseversion old_cv count 0 N/A test_run_refresh N/A N/A self N/A N/A N/A 
        Refresh the runcaseversions while the run remains active

        Very similar to previous test case, but this all happens while the
        run is in active state.  Ensuring that it has the same end-result.

         N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A r activate N/A old_cv N/A N/A N/A N/A self F CaseVersionFactory create name I shouldn't be here productversion N/A self pv8 status active N/A N/A N/A N/A self F RunCaseVersionFactory run r caseversion old_cv N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A cv_needed N/A N/A num N/A range 6 N/A N/A cv N/A N/A N/A N/A self F CaseVersionFactory create name N/A casey N/A str num productversion N/A self pv8 status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A cv case N/A N/A N/A cv_needed append cv N/A existing_rcv N/A N/A N/A self F RunCaseVersionFactory run r caseversion N/A cv_needed N/A 3 order 0 N/A old_env N/A N/A N/A N/A N/A self F EnvironmentFactory create_set N/A OS Browser N/A Atari RS-232 N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through runcaseversion existing_rcv environment old_env save N/A N/A N/A r refresh N/A N/A N/A self refresh r N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 6 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through objects count 24 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion objects filter run r caseversion old_cv count 0 N/A test_run_refresh_draft_no_op N/A N/A self N/A N/A N/A Refresh the runcaseversions on draft run is no op. N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 status draft N/A rcv N/A N/A N/A N/A self F RunCaseVersionFactory create run r caseversion__productversion N/A self pv8 caseversion__status draft N/A N/A N/A N/A N/A self F ResultFactory create runcaseversion rcv N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A N/A rcv caseversion case N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A N/A N/A r refresh N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A self model Result objects filter runcaseversion__run r count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self model Result objects count 1 N/A N/A RefreshTransactionTest N/A N/A case TransactionTestCase N/A N/A Tests for ``Importer`` transactional behavior. setUp N/A N/A self N/A N/A N/A Set up envs, product and product versions used by all tests. N/A N/A self envs N/A N/A N/A N/A self F EnvironmentFactory create_full_set N/A OS Browser N/A Linux Windows N/A Firefox Chrome N/A N/A self p N/A N/A N/A N/A self F ProductFactory create N/A N/A self pv8 N/A N/A N/A N/A self F ProductVersionFactory create product N/A self p version 8.0 environments N/A self envs N/A N/A self pv9 N/A N/A N/A N/A self F ProductVersionFactory create product N/A self p version 9.0 environments N/A self envs N/A create_run_needing_refresh N/A N/A self N/A N/A N/A 
        Refresh the runcaseversions while the run remains active

        Very similar to previous test case, but this all happens while the
        run is in active state.  Ensuring that it has the same end-result.

         N/A r N/A N/A N/A N/A self F RunFactory create productversion N/A self pv8 N/A N/A N/A r activate N/A deleteme_cv N/A N/A N/A N/A self F CaseVersionFactory create name I shouldn't be here productversion N/A self pv8 status active N/A N/A N/A N/A self F RunCaseVersionFactory run r caseversion deleteme_cv N/A ts N/A N/A N/A N/A self F SuiteFactory create product N/A self p status active N/A N/A N/A N/A N/A self F RunSuiteFactory create suite ts run r N/A cv_needed N/A N/A num N/A range 6 N/A N/A cv N/A N/A N/A N/A self F CaseVersionFactory create name N/A casey N/A str num productversion N/A self pv8 status active N/A N/A N/A N/A N/A self F SuiteCaseFactory create suite ts case N/A cv case N/A N/A N/A cv_needed append cv N/A keepme_rcv N/A N/A N/A self F RunCaseVersionFactory run r caseversion N/A cv_needed N/A 3 order 0 N/A deleteme_env N/A N/A N/A N/A N/A self F EnvironmentFactory create_set N/A OS Browser N/A Atari RS-232 N/A 0 N/A N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through runcaseversion keepme_rcv environment deleteme_env save N/A N/A r deleteme_cv ts cv_needed existing_rcv old_env r deleteme_cv ts cv_needed keepme_rcv deleteme_env N/A assert_rolled_back N/A N/A self test_data N/A N/A N/A r N/A test_data N/A r N/A N/A N/A self refresh r N/A N/A N/A self assertEqual N/A N/A N/A r runcaseversions count 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion environments through objects count 9 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A N/A N/A N/A self F model RunCaseVersion objects filter run r caseversion N/A test_data N/A deleteme_cv count 1 N/A do_rollback_test N/A N/A self new_func N/A N/A N/A Perform the rollback test with an exception in a new function. N/A test_data N/A N/A self create_run_needing_refresh SurpriseException N/A RuntimeError N/A N/A N/A raise_exception N/A N/A N/A args kwargs N/A N/A N/A SurpriseException Surprise! N/A N/A N/A new_func side_effect raise_exception N/A N/A N/A self assertRaises SurpriseException N/A N/A N/A N/A N/A test_data N/A r refresh N/A N/A N/A self assert_rolled_back test_data N/A test_exception_in_delete_runcaseversions N/A N/A self new_func N/A N/A N/A 
        An unknown exception is thrown:
            * after creating unfresh test data
            * before deleting rcvs
        so the entire transaction is rolled back.
         N/A N/A N/A self do_rollback_test new_func N/A N/A N/A patch object Run _delete_runcaseversions test_exception_in_bulk_insert_new_rcv N/A N/A self new_func N/A N/A N/A 
        An unknown exception is thrown:
            * after deleting rcvs
            * before bulk insert
        so the entire transaction is rolled back.
         N/A N/A N/A self do_rollback_test new_func N/A N/A N/A patch object Run _bulk_insert_new_runcaseversions test_exception_in_bulk_update_rcv_envs N/A N/A self new_func N/A N/A N/A 
        An unknown exception is thrown:
            * after bulk insert of rcvs
            * before bulk update of envs
        so the entire transaction is rolled back.
         N/A N/A N/A self do_rollback_test new_func N/A N/A N/A patch object Run _bulk_update_runcaseversion_environments_for_lock test_exception_after_complete N/A N/A self new_func N/A N/A N/A 
        An unknown exception is thrown:
            * after bulk update of envs, and everything should be done.
        so the entire transaction is rolled back.
         N/A N/A N/A self do_rollback_test new_func N/A N/A N/A patch object Run _lock_caseversions_complete N/A