Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str orelse Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Assign NameStore BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Str Str Str If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str If BoolOpAnd NameLoad CompareNotEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Str orelse Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body Delete SubscriptDel AttributeLoad NameLoad attr Index Str Assign NameStore ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListComp BinOpMod Str NameLoad comprehension NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TryExcept body ImportFrom alias alias Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr CompareIn NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str keyword Dict Str NameLoad Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str keyword Dict Str NameLoad Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str keyword Dict Str NameLoad Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad Call NameLoad attr Str Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Expr Call AttributeLoad NameLoad attr NameLoad Str orelse Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A N/A 
A series of tests to establish that the command-line managment tools work as
advertised - especially with regards to the handling of the DJANGO_SETTINGS_MODULE
and default settings.py files.
 N/A os N/A unittest N/A shutil N/A sys N/A re django conf bin get_version django.conf settings AdminScriptTestCase N/A N/A unittest TestCase N/A write_settings N/A N/A self filename apps is_dir sdict N/A None False None N/A N/A test_dir N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A is_dir N/A N/A settings_dir N/A N/A N/A os path join test_dir filename N/A N/A N/A os mkdir settings_dir N/A settings_file N/A open N/A N/A N/A os path join settings_dir __init__.py w N/A N/A settings_file N/A open N/A N/A N/A os path join test_dir filename w N/A N/A N/A settings_file write # Settings file automatically generated by regressiontests.admin_scripts test case
 N/A exports N/A DATABASES ROOT_URLCONF N/A s exports N/A N/A N/A hasattr settings s N/A N/A o N/A getattr settings s N/A N/A N/A isinstance o dict N/A N/A o N/A '%s' o N/A N/A N/A settings_file write N/A %s = %s
 N/A s o N/A N/A apps None N/A N/A apps N/A django.contrib.auth django.contrib.contenttypes admin_scripts N/A apps N/A N/A N/A N/A settings_file write N/A INSTALLED_APPS = %s
 apps N/A sdict N/A N/A N/A k v N/A N/A sdict items N/A N/A N/A N/A settings_file write N/A %s = %s
 N/A k v N/A N/A N/A settings_file close N/A remove_settings N/A N/A self filename is_dir N/A False N/A N/A test_dir N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A full_name N/A N/A N/A os path join test_dir filename N/A is_dir N/A N/A N/A N/A shutil rmtree full_name N/A N/A N/A N/A os remove full_name N/A N/A N/A N/A N/A N/A sys platform startswith java N/A N/A N/A N/A os remove N/A N/A re sub \.py$ $py.class full_name N/A N/A N/A N/A os remove N/A full_name c N/A N/A N/A OSError N/A N/A N/A _ext_backend_paths N/A N/A self N/A N/A N/A 
        Returns the paths for any external backend packages.
         N/A paths N/A N/A first_package_re N/A N/A re compile (^[^\.]+)\. N/A backend N/A N/A N/A settings DATABASES values N/A N/A result N/A N/A first_package_re findall N/A backend N/A ENGINE N/A N/A result N/A result django N/A N/A backend_pkg N/A __import__ N/A result N/A 0 N/A backend_dir N/A N/A N/A os path dirname N/A backend_pkg __file__ N/A N/A N/A paths append N/A N/A N/A os path dirname backend_dir N/A paths N/A run_test N/A N/A self script args settings_file apps N/A None None N/A N/A test_dir N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A project_dir N/A N/A N/A os path dirname test_dir N/A base_dir N/A N/A N/A os path dirname project_dir N/A ext_backend_base_dirs N/A N/A self _ext_backend_paths N/A old_django_settings_module N/A N/A N/A os environ get DJANGO_SETTINGS_MODULE None N/A N/A N/A N/A sys platform startswith java N/A N/A python_path_var_name JYTHONPATH N/A N/A python_path_var_name PYTHONPATH N/A old_python_path N/A N/A N/A os environ get python_path_var_name None N/A old_cwd N/A N/A os getcwd N/A settings_file N/A N/A N/A N/A os environ N/A DJANGO_SETTINGS_MODULE settings_file N/A N/A N/A DJANGO_SETTINGS_MODULE N/A os environ N/A N/A N/A N/A os environ N/A DJANGO_SETTINGS_MODULE N/A python_path N/A test_dir base_dir N/A N/A N/A python_path extend ext_backend_base_dirs N/A N/A N/A os environ N/A python_path_var_name N/A N/A N/A os pathsep join python_path N/A executable N/A sys executable N/A arg_string N/A N/A join N/A N/A %s arg N/A arg args N/A N/A executable N/A N/A cmd N/A ""%s" "%s" %s" N/A executable script arg_string N/A N/A cmd N/A %s "%s" %s N/A executable script arg_string N/A N/A N/A os chdir test_dir N/A N/A subprocess Popen PIPE N/A p N/A Popen cmd shell True stdin PIPE stdout PIPE stderr PIPE N/A N/A stdin stdout stderr N/A N/A p stdin N/A p stdout N/A p stderr N/A N/A N/A p wait N/A N/A N/A ImportError N/A N/A N/A stdin stdout stderr N/A N/A os popen3 cmd N/A N/A out err N/A N/A N/A stdout read N/A N/A stderr read N/A old_django_settings_module N/A N/A N/A N/A os environ N/A DJANGO_SETTINGS_MODULE old_django_settings_module N/A old_python_path N/A N/A N/A N/A os environ N/A python_path_var_name old_python_path N/A N/A N/A os chdir old_cwd N/A N/A out err N/A run_django_admin N/A N/A self args settings_file N/A None N/A N/A bin_dir N/A N/A N/A os path abspath N/A N/A N/A os path dirname N/A bin __file__ N/A N/A N/A self run_test N/A N/A N/A os path join bin_dir django-admin.py args settings_file N/A run_manage N/A N/A self args settings_file N/A None N/A N/A conf_dir N/A N/A N/A os path dirname N/A conf __file__ N/A template_manage_py N/A N/A N/A os path join conf_dir project_template manage.py N/A test_dir N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A test_manage_py N/A N/A N/A os path join test_dir manage.py N/A N/A N/A shutil copyfile template_manage_py test_manage_py N/A N/A stdout stderr N/A N/A self run_test ./manage.py args settings_file N/A N/A N/A os remove test_manage_py N/A N/A stdout stderr N/A assertNoOutput N/A N/A self stream N/A N/A N/A Utility assertion: assert that the given stream is empty N/A N/A N/A self assertEquals N/A len stream 0 N/A Stream should be empty: actually contains '%s' stream N/A assertOutput N/A N/A self stream msg N/A N/A N/A Utility assertion: assert that the given message exists in the output N/A N/A N/A self assertTrue N/A msg stream N/A '%s' does not match actual output text '%s' N/A msg stream N/A N/A DjangoAdminNoSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when there is no settings.py file. test_builtin_command N/A N/A self N/A N/A N/A no settings: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A no settings: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A no settings: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A N/A DjangoAdminDefaultSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when using a settings.py file that
    contains the test application.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A default: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_settings N/A N/A self N/A N/A N/A default: django-admin builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A default: django-admin builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A default: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A default: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A default: django-admin can't execute user commands if it isn't provided settings N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A default: django-admin can execute user commands if settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A default: django-admin can execute user commands if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A DjangoAdminFullPathDefaultSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when using a settings.py file that
    contains the test application specified using a full path.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py N/A django.contrib.auth django.contrib.contenttypes regressiontests.admin_scripts N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A fulldefault: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_settings N/A N/A self N/A N/A N/A fulldefault: django-admin builtin commands succeed if a settings file is provided N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A fulldefault: django-admin builtin commands succeed if the environment contains settings N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A fulldefault: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A fulldefault: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A fulldefault: django-admin can't execute user commands unless settings are provided N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A fulldefault: django-admin can execute user commands if settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A fulldefault: django-admin can execute user commands if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A DjangoAdminMinimalSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when using a settings.py file that
    doesn't contain the test application.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py apps N/A django.contrib.auth django.contrib.contenttypes N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A minimal: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_settings N/A N/A self N/A N/A N/A minimal: django-admin builtin commands fail if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_builtin_with_environment N/A N/A self N/A N/A N/A minimal: django-admin builtin commands fail if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A minimal: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A minimal: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A minimal: django-admin can't execute user commands unless settings are provided N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A minimal: django-admin can't execute user commands, even if settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A minimal: django-admin can't execute user commands, even if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A N/A DjangoAdminAlternateSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when using a settings file
    with a name other than 'settings.py'.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings alternate_settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings alternate_settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_settings N/A N/A self N/A N/A N/A alternate: django-admin builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=alternate_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A alternate: django-admin builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args alternate_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A alternate: django-admin can't execute user commands unless settings are provided N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A alternate: django-admin can execute user commands if settings are provided as argument N/A args N/A noargs_command --settings=alternate_settings N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A alternate: django-admin can execute user commands if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args alternate_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A DjangoAdminMultipleSettings N/A AdminScriptTestCase N/A N/A A series of tests for django-admin.py when multiple settings files
    (including the default 'settings.py') are available. The default settings
    file is insufficient for performing the operations described, so the
    alternate settings must be used by the running script.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py apps N/A django.contrib.auth django.contrib.contenttypes N/A N/A N/A self write_settings alternate_settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A N/A N/A self remove_settings alternate_settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_settings N/A N/A self N/A N/A N/A alternate: django-admin builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=alternate_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A alternate: django-admin builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args alternate_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A alternate: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A alternate: django-admin can't execute user commands unless settings are provided N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A alternate: django-admin can't execute user commands, even if settings are provided as argument N/A args N/A noargs_command --settings=alternate_settings N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A alternate: django-admin can't execute user commands, even if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args alternate_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A DjangoAdminSettingsDirectory N/A AdminScriptTestCase N/A N/A 
    A series of tests for django-admin.py when the settings file is in a
    directory. (see #9751).
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings is_dir True N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings is_dir True N/A test_setup_environ N/A N/A self N/A N/A N/A directory: startapp creates the correct directory N/A test_dir N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A args N/A startapp settings_test N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assert_ N/A N/A N/A os path exists N/A N/A N/A os path join test_dir settings_test N/A N/A N/A shutil rmtree N/A N/A N/A os path join test_dir settings_test N/A test_builtin_command N/A N/A self N/A N/A N/A directory: django-admin builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err environment variable DJANGO_SETTINGS_MODULE is undefined N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A directory: django-admin builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A directory: django-admin builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_custom_command N/A N/A self N/A N/A N/A directory: django-admin can't execute user commands unless settings are provided N/A args N/A noargs_command N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_builtin_with_settings N/A N/A self N/A N/A N/A directory: django-admin builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_django_admin args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A directory: django-admin builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_django_admin args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A N/A ManageNoSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when there is no settings.py file. test_builtin_command N/A N/A self N/A N/A N/A no settings: manage.py builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A no settings: manage.py builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A no settings: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A N/A ManageDefaultSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when using a settings.py file that
    contains the test application.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A default: manage.py builtin commands succeed when default settings are appropriate N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_settings N/A N/A self N/A N/A N/A default: manage.py builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A default: manage.py builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A default: manage.py builtin commands succeed if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A default: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_custom_command N/A N/A self N/A N/A N/A default: manage.py can execute user commands when default settings are appropriate N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A default: manage.py can execute user commands when settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A default: manage.py can execute user commands when settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A ManageFullPathDefaultSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when using a settings.py file that
    contains the test application specified using a full path.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py N/A django.contrib.auth django.contrib.contenttypes regressiontests.admin_scripts N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A fulldefault: manage.py builtin commands succeed when default settings are appropriate N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_settings N/A N/A self N/A N/A N/A fulldefault: manage.py builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A fulldefault: manage.py builtin commands succeed if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A fulldefault: manage.py builtin commands succeed if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A fulldefault: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_custom_command N/A N/A self N/A N/A N/A fulldefault: manage.py can execute user commands when default settings are appropriate N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A fulldefault: manage.py can execute user commands when settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A fulldefault: manage.py can execute user commands when settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A N/A ManageMinimalSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when using a settings.py file that
    doesn't contain the test application.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py apps N/A django.contrib.auth django.contrib.contenttypes N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A minimal: manage.py builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_builtin_with_settings N/A N/A self N/A N/A N/A minimal: manage.py builtin commands fail if settings are provided as argument N/A args N/A sqlall --settings=settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_builtin_with_environment N/A N/A self N/A N/A N/A minimal: manage.py builtin commands fail if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A minimal: manage.py builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A minimal: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_custom_command N/A N/A self N/A N/A N/A minimal: manage.py can't execute user commands without appropriate settings N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A minimal: manage.py can't execute user commands, even if settings are provided as argument N/A args N/A noargs_command --settings=settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A minimal: manage.py can't execute user commands, even if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A N/A ManageAlternateSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when using a settings file
    with a name other than 'settings.py'.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings alternate_settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings alternate_settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A alternate: manage.py builtin commands fail with an import error when no default settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_settings N/A N/A self N/A N/A N/A alternate: manage.py builtin commands fail if settings are provided as argument but no defaults N/A args N/A sqlall --settings=alternate_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_environment N/A N/A self N/A N/A N/A alternate: manage.py builtin commands fail if settings are provided in the environment but no defaults N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args alternate_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A alternate: manage.py builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A alternate: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_custom_command N/A N/A self N/A N/A N/A alternate: manage.py can't execute user commands N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A alternate: manage.py can't execute user commands, even if settings are provided as argument N/A args N/A noargs_command --settings=alternate_settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A alternate: manage.py can't execute user commands, even if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args alternate_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Can't find the file 'settings.py' in the directory containing './manage.py' N/A N/A ManageMultipleSettings N/A AdminScriptTestCase N/A N/A A series of tests for manage.py when multiple settings files
    (including the default 'settings.py') are available. The default settings
    file is insufficient for performing the operations described, so the
    alternate settings must be used by the running script.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py apps N/A django.contrib.auth django.contrib.contenttypes N/A N/A N/A self write_settings alternate_settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A N/A N/A self remove_settings alternate_settings.py N/A test_builtin_command N/A N/A self N/A N/A N/A multiple: manage.py builtin commands fail with an import error when no settings provided N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found. N/A test_builtin_with_settings N/A N/A self N/A N/A N/A multiple: manage.py builtin commands succeed if settings are provided as argument N/A args N/A sqlall --settings=alternate_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out CREATE TABLE N/A test_builtin_with_environment N/A N/A self N/A N/A N/A multiple: manage.py builtin commands fail if settings are provided in the environment N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args alternate_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found. N/A test_builtin_with_bad_settings N/A N/A self N/A N/A N/A multiple: manage.py builtin commands fail if settings file (from argument) doesn't exist N/A args N/A sqlall --settings=bad_settings admin_scripts N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Could not import settings 'bad_settings' N/A test_builtin_with_bad_environment N/A N/A self N/A N/A N/A multiple: manage.py builtin commands fail if settings file (from environment) doesn't exist N/A args N/A sqlall admin_scripts N/A N/A out err N/A N/A self run_manage args bad_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err App with label admin_scripts could not be found N/A test_custom_command N/A N/A self N/A N/A N/A multiple: manage.py can't execute user commands using default settings N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A test_custom_command_with_settings N/A N/A self N/A N/A N/A multiple: manage.py can execute user commands if settings are provided as argument N/A args N/A noargs_command --settings=alternate_settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand N/A test_custom_command_with_environment N/A N/A self N/A N/A N/A multiple: manage.py can execute user commands if settings are provided in environment N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args alternate_settings N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err Unknown command: 'noargs_command' N/A N/A ManageValidate N/A AdminScriptTestCase N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_nonexistent_app N/A N/A self N/A N/A N/A manage.py validate reports an error on a non-existent app in INSTALLED_APPS N/A N/A N/A self write_settings settings.py apps N/A admin_scriptz.broken_app sdict N/A USE_I18N False N/A args N/A validate N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err No module named admin_scriptz N/A test_broken_app N/A N/A self N/A N/A N/A manage.py validate reports an ImportError if an app's models.py raises one on import N/A N/A N/A self write_settings settings.py apps N/A admin_scripts.broken_app N/A args N/A validate N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput out N/A N/A N/A self assertOutput err ImportError N/A test_complex_app N/A N/A self N/A N/A N/A manage.py validate does not raise an ImportError validating a complex app with nested calls to load_app N/A N/A N/A self write_settings settings.py apps N/A admin_scripts.complex_app admin_scripts.simple_app sdict N/A DEBUG True N/A args N/A validate N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out 0 errors found N/A test_app_with_import N/A N/A self N/A N/A N/A manage.py validate does not raise errors when an app imports a base class that itself has an abstract base N/A N/A N/A self write_settings settings.py apps N/A admin_scripts.app_with_import django.contrib.comments sdict N/A DEBUG True N/A args N/A validate N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out 0 errors found N/A N/A CommandTypes N/A AdminScriptTestCase N/A N/A Tests for the various types of base command types that can be defined. setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A test_version N/A N/A self N/A N/A N/A --version is handled as a special case N/A args N/A --version N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out N/A N/A N/A N/A get_version split - N/A 0 N/A test_help N/A N/A self N/A N/A N/A --help is handled as a special case N/A args N/A --help N/A N/A out err N/A N/A self run_manage args N/A N/A N/A sys version_info N/A 2 5 N/A N/A N/A N/A self assertOutput out usage: manage.py subcommand [options] [args] N/A N/A N/A N/A self assertOutput out Usage: manage.py subcommand [options] [args] N/A N/A N/A self assertOutput err Type 'manage.py help <subcommand>' for help on a specific subcommand. N/A test_specific_help N/A N/A self N/A N/A N/A --help can be used on a specific command N/A args N/A sqlall --help N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out Prints the CREATE TABLE, custom SQL and CREATE INDEX SQL statements for the given model module name(s). N/A test_base_command N/A N/A self N/A N/A N/A User BaseCommands can execute when a label is provided N/A args N/A base_command testlabel N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', '1'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_base_command_no_label N/A N/A self N/A N/A N/A User BaseCommands can execute when no labels are provided N/A args N/A base_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=(), options=[('option_a', '1'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_base_command_multiple_label N/A N/A self N/A N/A N/A User BaseCommands can execute when no labels are provided N/A args N/A base_command testlabel anotherlabel N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel', 'anotherlabel'), options=[('option_a', '1'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_base_command_with_option N/A N/A self N/A N/A N/A User BaseCommands can execute with options when a label is provided N/A args N/A base_command testlabel --option_a=x N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_base_command_with_options N/A N/A self N/A N/A N/A User BaseCommands can execute with multiple options when a label is provided N/A args N/A base_command testlabel -a x --option_b=y N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', 'y'), ('option_c', '3'), ('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_noargs N/A N/A self N/A N/A N/A NoArg Commands can be executed N/A args N/A noargs_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:NoArgsCommand options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_noargs_with_args N/A N/A self N/A N/A N/A NoArg Commands raise an error if an argument is provided N/A args N/A noargs_command argument N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertOutput err Error: Command doesn't accept any arguments N/A test_app_command N/A N/A self N/A N/A N/A User AppCommands can execute when a single app name is provided N/A args N/A app_command auth N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:AppCommand app=<module 'django.contrib.auth.models' N/A N/A N/A self assertOutput out N/A N/A N/A os sep join N/A django contrib auth models.py N/A N/A N/A self assertOutput out '>, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_app_command_no_apps N/A N/A self N/A N/A N/A User AppCommands raise an error when no app name is provided N/A args N/A app_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertOutput err Error: Enter at least one appname. N/A test_app_command_multiple_apps N/A N/A self N/A N/A N/A User AppCommands raise an error when multiple app names are provided N/A args N/A app_command auth contenttypes N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:AppCommand app=<module 'django.contrib.auth.models' N/A N/A N/A self assertOutput out N/A N/A N/A os sep join N/A django contrib auth models.py N/A N/A N/A self assertOutput out '>, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A N/A N/A self assertOutput out EXECUTE:AppCommand app=<module 'django.contrib.contenttypes.models' N/A N/A N/A self assertOutput out N/A N/A N/A os sep join N/A django contrib contenttypes models.py N/A N/A N/A self assertOutput out '>, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_app_command_invalid_appname N/A N/A self N/A N/A N/A User AppCommands can execute when a single app name is provided N/A args N/A app_command NOT_AN_APP N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertOutput err App with label NOT_AN_APP could not be found N/A test_app_command_some_invalid_appnames N/A N/A self N/A N/A N/A User AppCommands can execute when some of the provided app names are invalid N/A args N/A app_command auth NOT_AN_APP N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertOutput err App with label NOT_AN_APP could not be found N/A test_label_command N/A N/A self N/A N/A N/A User LabelCommands can execute when a label is provided N/A args N/A label_command testlabel N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:LabelCommand label=testlabel, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A test_label_command_no_label N/A N/A self N/A N/A N/A User LabelCommands raise an error if no label is provided N/A args N/A label_command N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertOutput err Enter at least one label N/A test_label_command_multiple_label N/A N/A self N/A N/A N/A User LabelCommands are executed multiple times if multiple labels are provided N/A args N/A label_command testlabel anotherlabel N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:LabelCommand label=testlabel, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A N/A N/A self assertOutput out EXECUTE:LabelCommand label=anotherlabel, options=[('pythonpath', None), ('settings', None), ('traceback', None), ('verbosity', '1')] N/A N/A ArgumentOrder N/A AdminScriptTestCase N/A N/A Tests for 2-stage argument parsing scheme.

    django-admin command arguments are parsed in 2 parts; the core arguments
    (--settings, --traceback and --pythonpath) are parsed using a Lax parser.
    This Lax parser ignores any unknown options. Then the full settings are
    passed to the command parser, which extracts commands of interest to the
    individual command.
     setUp N/A N/A self N/A N/A N/A N/A N/A self write_settings settings.py apps N/A django.contrib.auth django.contrib.contenttypes N/A N/A N/A self write_settings alternate_settings.py N/A tearDown N/A N/A self N/A N/A N/A N/A N/A self remove_settings settings.py N/A N/A N/A self remove_settings alternate_settings.py N/A test_setting_then_option N/A N/A self N/A N/A N/A Options passed after settings are correctly handled N/A args N/A base_command testlabel --settings=alternate_settings --option_a=x N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')] N/A test_setting_then_short_option N/A N/A self N/A N/A N/A Short options passed after settings are correctly handled N/A args N/A base_command testlabel --settings=alternate_settings --option_a=x N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')] N/A test_option_then_setting N/A N/A self N/A N/A N/A Options passed before settings are correctly handled N/A args N/A base_command testlabel --option_a=x --settings=alternate_settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')] N/A test_short_option_then_setting N/A N/A self N/A N/A N/A Short options passed before settings are correctly handled N/A args N/A base_command testlabel -a x --settings=alternate_settings N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', '2'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')] N/A test_option_then_setting_then_option N/A N/A self N/A N/A N/A Options are correctly handled when they are passed before and after a setting N/A args N/A base_command testlabel --option_a=x --settings=alternate_settings --option_b=y N/A N/A out err N/A N/A self run_manage args N/A N/A N/A self assertNoOutput err N/A N/A N/A self assertOutput out EXECUTE:BaseCommand labels=('testlabel',), options=[('option_a', 'x'), ('option_b', 'y'), ('option_c', '3'), ('pythonpath', None), ('settings', 'alternate_settings'), ('traceback', None), ('verbosity', '1')] N/A N/A