Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad Call NameLoad NameLoad attr Assign NameStore BinOpAdd NameLoad ListLoad Call NameLoad Str Call NameLoad AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str Assign NameStore CompareIn Str AttributeLoad NameLoad attr If NameLoad body ImportFrom alias alias ImportFrom alias Assign NameStore CompareIn Str AttributeLoad NameLoad attr If NameLoad body ImportFrom alias alias alias ImportFrom alias Assign NameStore CompareIn Str AttributeLoad NameLoad attr If NameLoad body ImportFrom alias Assign NameStore Call NameLoad AugAssignAdd NameStore ListLoad Call NameLoad Str Call NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore NameLoad Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign NameStore Call Call NameLoad NameLoad Str NameLoad FunctionDef arguments args defaults body If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad Call AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args defaults body If CompareLt AttributeLoad NameLoad attr TupleLoad Num Num body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list If Call NameLoad NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call NameLoad Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Expr Call NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad orelse FunctionDef arguments args defaults vararg kwarg body Expr Call NameLoad TryFinally body Return Call NameLoad NameLoad NameLoad finalbody Expr Call NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr NameLoad NameLoad keyword Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body With Call AttributeLoad NameLoad attr Str NameStore body Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr NameLoad NameLoad keyword Str keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list Call NameLoad keyword BinOpAdd AttributeLoad NameLoad attr TupleLoad Str decorator_list Call NameLoad NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword ListLoad Str Str Str Str attr keyword Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Expr Yield Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr NameLoad keyword Str attr With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str keyword Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Str keyword Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad Str Call NameLoad keyword BinOpAdd AttributeLoad NameLoad attr TupleLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call AttributeLoad AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr attr keyword AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list decorator_list Call NameLoad NameLoad Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Str Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call Call AttributeLoad NameLoad attr keyword NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str Str Expr Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str attr With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list Call NameLoad NameLoad Str Call NameLoad keyword NameLoad ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad Call NameLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad NameLoad attr decorator_list decorator_list NameLoad ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad NameLoad attr Num body Expr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list
N/A __future__ absolute_import N/A mock N/A datetime contextlib contextmanager unittest skipUnless N/A uuid N/A django django.test TestCase django.test.client RequestFactory django.test.utils override_settings django forms django.conf settings django.core.exceptions PermissionDenied django.utils timezone django.core urlresolvers django.contrib.auth.models Permission AnonymousUser django.contrib.auth get_user_model django.contrib.contenttypes.models ContentType django.contrib admin django.db.models.signals post_save django.conf.urls url include django.core.urlresolvers get_resolver mezzanine.core.models CONTENT_STATUS_PUBLISHED CONTENT_STATUS_DRAFT mezzanine.pages.models Page widgy.site WidgySite widgy.contrib.widgy_mezzanine get_widgypage_model widgy.contrib.widgy_mezzanine.views ClonePageView UnpublishView widgy.db.fields get_site widgy.contrib.widgy_mezzanine.admin WidgyPageAdmin N/A User N/A get_user_model N/A widgy_site N/A WidgySite N/A WidgyPage N/A get_widgypage_model N/A urlpatterns N/A N/A get_resolver None url_patterns N/A urlpatterns N/A urlpatterns N/A N/A url ^widgy_site/ N/A include N/A widgy_site urls N/A url ^accounts/ N/A include django.contrib.auth.urls N/A FORM_BUILDER_INSTALLED N/A widgy.contrib.form_builder N/A settings INSTALLED_APPS N/A FORM_BUILDER_INSTALLED N/A widgy.contrib.form_builder.models Form FormInput widgy.contrib.widgy_mezzanine.views handle_form N/A PAGE_BUILDER_INSTALLED N/A widgy.contrib.page_builder N/A settings INSTALLED_APPS N/A PAGE_BUILDER_INSTALLED N/A widgy.contrib.page_builder.models Button DefaultLayout MainContent widgy.contrib.widgy_mezzanine.views PreviewView N/A REVIEW_QUEUE_INSTALLED N/A widgy.contrib.review_queue N/A settings INSTALLED_APPS N/A REVIEW_QUEUE_INSTALLED N/A widgy.contrib.review_queue.site ReviewedWidgySite N/A reviewed_widgy_site N/A ReviewedWidgySite N/A urlpatterns N/A N/A url ^reviewed_widgy_site/ N/A include N/A reviewed_widgy_site urls make_reviewed N/A N/A fn N/A N/A N/A 
    Just setting the WIDGY_MEZZANINE_SITE is not enough during tests, because
    WidgyPage.root_node has been set to point to VersionTracker.  We have to
    manually point it to ReviewedVersionTracker.  We do this only in tests
    because on a normal run, you are never going to be changing what models a
    ForeignKey points to (I would hope).
     widgy.contrib.widgy_mezzanine.admin publish_page_on_approve N/A site reviewed_widgy_site N/A rel N/A N/A N/A N/A WidgyPage _meta get_field root_node rel N/A old_model N/A rel model N/A dispatch_uid N/A str N/A N/A uuid uuid4 N/A fn N/A N/A override_settings WIDGY_MEZZANINE_SITE site fn N/A fn N/A N/A skipUnless REVIEW_QUEUE_INSTALLED review_queue is not installed fn up N/A N/A N/A N/A N/A N/A N/A django VERSION N/A 1 9 N/A N/A N/A rel to N/A N/A site get_version_tracker_model N/A N/A N/A rel model N/A N/A site get_version_tracker_model N/A N/A N/A post_save connect publish_page_on_approve sender N/A N/A N/A site get_version_tracker_model commit_model dispatch_uid dispatch_uid N/A down N/A N/A N/A N/A N/A N/A N/A django VERSION N/A 1 9 N/A N/A N/A rel to old_model N/A N/A N/A rel model old_model N/A N/A N/A post_save disconnect dispatch_uid dispatch_uid N/A N/A N/A isinstance fn type N/A N/A old_pre_setup N/A fn _pre_setup N/A old_post_teardown N/A fn _post_teardown _pre_setup N/A N/A self N/A N/A N/A N/A up N/A N/A old_pre_setup self N/A _post_teardown N/A N/A self N/A N/A N/A N/A old_post_teardown self N/A N/A down N/A N/A N/A fn _pre_setup _pre_setup N/A N/A fn _post_teardown _post_teardown N/A fn N/A change_foreign_key N/A N/A N/A args kwargs N/A N/A N/A up N/A N/A N/A N/A fn args kwargs N/A N/A N/A down N/A N/A change_foreign_key N/A TestFormHandler N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self factory N/A RequestFactory N/A N/A self form N/A N/A Form add_root widgy_site N/A test_get N/A N/A self N/A N/A N/A req N/A N/A N/A self factory get /?from=/foo/ N/A resp N/A handle_form req form_node_pk N/A N/A N/A self form node pk N/A N/A N/A self assertEqual N/A resp N/A Location /foo/ N/A test_post N/A N/A self N/A N/A N/A req N/A N/A N/A self factory post /?from=/foo/ N/A N/A N/A N/A mock patch object Form execute form_execute N/A N/A N/A form_execute return_value N/A object N/A resp N/A handle_form req form_node_pk N/A N/A N/A self form node pk N/A N/A args kwargs N/A form_execute call_args N/A N/A N/A self assertIs N/A args N/A 0 req N/A N/A N/A self assertIsInstance N/A args N/A 1 N/A forms BaseForm N/A N/A N/A self assertIs resp N/A form_execute return_value N/A test_post_rerender N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A self form children N/A fields add_child widgy_site FormInput label foo required True type text N/A req N/A N/A N/A self factory post /?from=/foo/ N/A N/A req user N/A User is_superuser True N/A N/A N/A N/A mock patch object Form execute form_execute N/A N/A N/A N/A mock patch widgy.contrib.widgy_mezzanine.views.page_view page_view N/A N/A N/A page_view return_value N/A object N/A resp N/A handle_form req form_node_pk N/A N/A N/A self form node pk N/A N/A N/A form_execute assert_not_called N/A N/A N/A self assertIs resp N/A page_view return_value N/A N/A args kwargs N/A page_view call_args N/A N/A N/A self assertIs N/A args N/A 0 req N/A extra_context N/A kwargs N/A extra_context N/A N/A N/A self assertEqual N/A extra_context N/A root_node_override N/A N/A self form node N/A django_form N/A extra_context N/A N/A N/A self form context_var N/A N/A N/A self assertIsInstance django_form N/A forms BaseForm N/A N/A N/A self assertTrue N/A django_form errors N/A test_post_no_404 N/A N/A self N/A N/A N/A 
        Mezzanine==3.1.2 introduced a change that caused calls to page view
        (such as in the form_invalid of the handle_form view to 404.  This test
        ensures that there is no 404.
         widgy.contrib.widgy_mezzanine.models WidgyPage N/A page N/A N/A N/A WidgyPage objects create title Test N/A N/A N/A N/A N/A N/A self form children N/A fields add_child widgy_site FormInput label foo required True type text N/A req N/A N/A N/A self factory post /?from=/foo/ N/A N/A req user N/A User is_superuser True N/A resp N/A handle_form req form_node_pk N/A N/A N/A self form node pk slug N/A page slug N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A override_settings MIDDLEWARE_CLASSES N/A N/A settings MIDDLEWARE_CLASSES N/A mezzanine.pages.middleware.PageMiddleware N/A N/A skipUnless FORM_BUILDER_INSTALLED form_builder not installed UserSetup N/A object N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super UserSetup self setUp N/A N/A self superuser N/A N/A N/A User objects create_superuser superuser test@example.com password N/A N/A self staffuser N/A N/A N/A User objects create_user staffuser test@example.com password N/A N/A N/A self staffuser is_staff True N/A N/A N/A N/A self staffuser save N/A N/A N/A self staffuser user_permissions N/A N/A N/A N/A N/A Permission objects filter content_type__app_label__in N/A pages widgy_mezzanine review_queue page_builder exclude codename change_reviewedversioncommit N/A as_user N/A N/A self username N/A N/A N/A N/A N/A N/A self client login username username password password N/A N/A N/A N/A N/A N/A self client logout N/A contextmanager N/A TestPreviewView N/A UserSetup TestCase N/A N/A urls widgy.contrib.widgy_mezzanine.tests.test_core setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestPreviewView self setUp N/A N/A self factory N/A RequestFactory N/A N/A self preview_view N/A N/A PreviewView as_view site widgy_site N/A N/A self request N/A N/A N/A self factory get / N/A N/A N/A self request user N/A User is_superuser True is_staff True N/A test_preview N/A N/A self N/A N/A N/A page N/A N/A N/A WidgyPage objects create title Test N/A root_node1 N/A N/A Button add_root widgy_site text Test 1 N/A root_node2 N/A N/A Button add_root widgy_site text Test 2 N/A resp1 N/A N/A self preview_view N/A self request node_pk N/A N/A root_node1 node pk page_pk N/A page pk N/A N/A N/A self assertEqual N/A resp1 status_code 200 N/A N/A N/A self assertIn Test 1 N/A resp1 rendered_content N/A N/A N/A self assertEqual N/A N/A N/A N/A resp1 context_data N/A page get_content_model page N/A resp2 N/A N/A self preview_view N/A self request node_pk N/A N/A root_node2 node pk page_pk N/A page pk N/A N/A N/A self assertEqual N/A resp2 status_code 200 N/A N/A N/A self assertIn Test 2 N/A resp2 rendered_content N/A test_preview_without_page N/A N/A self N/A N/A N/A button N/A N/A Button add_root widgy_site text Button text N/A resp N/A N/A self preview_view N/A self request node_pk N/A N/A button node pk N/A N/A N/A self assertIn N/A button text N/A resp rendered_content N/A test_legacy_url N/A N/A self N/A N/A N/A page N/A N/A N/A WidgyPage objects create title Foo N/A root_node N/A N/A N/A Button add_root widgy_site text Foo node N/A N/A N/A self as_user superuser N/A N/A r N/A N/A N/A self client get N/A N/A urlresolvers reverse widgy.contrib.widgy_mezzanine.views.preview kwargs N/A slug node_pk N/A page slug N/A root_node pk N/A N/A N/A self assertRedirects response r expected_url N/A N/A urlresolvers reverse widgy.contrib.widgy_mezzanine.views.preview kwargs N/A page_pk node_pk N/A page pk N/A root_node pk status_code 301 N/A test_redirects_to_login N/A N/A self N/A N/A N/A 
        Unauthenticated users trying to preview should be redirected to the login page.
         N/A button N/A N/A Button add_root widgy_site text Button text N/A request N/A N/A N/A self factory get / N/A N/A request user N/A AnonymousUser N/A resp N/A N/A self preview_view request node_pk N/A N/A button node pk N/A N/A N/A self assertEqual N/A resp N/A Location N/A N/A N/A N/A urlresolvers reverse login ?next= N/A N/A request get_full_path N/A N/A N/A skipUnless PAGE_BUILDER_INSTALLED page_builder is not installed N/A override_settings MIDDLEWARE_CLASSES N/A N/A settings MIDDLEWARE_CLASSES N/A mezzanine.pages.middleware.PageMiddleware PageSetup N/A object N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super PageSetup self setUp N/A N/A self factory N/A RequestFactory N/A N/A self widgy_site N/A get_site N/A getattr settings WIDGY_MEZZANINE_SITE widgy_site N/A N/A self page N/A N/A N/A WidgyPage objects create root_node N/A N/A N/A N/A N/A N/A self widgy_site get_version_tracker_model objects create working_copy N/A N/A N/A MainContent add_root N/A self widgy_site node title titleabc slug slugabc N/A N/A N/A skipUnless PAGE_BUILDER_INSTALLED page_builder is not installed AdminView N/A PageSetup N/A as_view N/A N/A self N/A kwargs N/A N/A N/A N/A kwargs setdefault has_permission N/A N/A N/A req N/A True N/A N/A N/A kwargs setdefault model WidgyPage N/A N/A N/A N/A self view_cls as_view kwargs N/A test_permissions N/A N/A self N/A N/A N/A N/A N/A self assertRaises PermissionDenied N/A N/A forbid_everything N/A N/A N/A req N/A False N/A req N/A N/A N/A self factory get / N/A N/A N/A N/A self as_view has_permission forbid_everything req N/A str N/A N/A self page pk N/A N/A TestClonePage N/A AdminView TestCase N/A N/A view_cls ClonePageView test_get N/A N/A self N/A N/A N/A view N/A N/A self as_view model WidgyPage N/A resp N/A view N/A N/A N/A self factory get / N/A str N/A N/A self page pk N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertIn N/A N/A self page title N/A resp rendered_content N/A N/A N/A self assertNotIn N/A N/A self page slug N/A resp rendered_content N/A test_post N/A N/A self N/A N/A N/A N/A N/A N/A N/A N/A N/A self page root_node working_copy content add_child N/A self widgy_site Button text buttontext N/A view N/A N/A self as_view model WidgyPage N/A N/A N/A mock patch django.contrib.messages.success success_mock N/A N/A req N/A N/A N/A self factory post / N/A title new title N/A N/A view req N/A str N/A N/A self page pk N/A new_page N/A N/A N/A N/A N/A WidgyPage objects exclude pk N/A N/A self page pk get N/A N/A N/A success_mock assert_called_with req N/A mock ANY N/A success_message N/A N/A N/A success_mock call_args N/A 0 N/A 1 N/A N/A N/A self assertIn N/A N/A self page title success_message N/A N/A N/A self assertIn N/A new_page title success_message N/A N/A N/A self assertNotEqual N/A new_page slug N/A N/A self page slug N/A N/A N/A self assertEqual N/A new_page title new title N/A button N/A N/A N/A N/A N/A N/A new_page root_node working_copy content get_children N/A 0 N/A N/A N/A self assertEqual N/A button text buttontext N/A N/A TestUnpublish N/A AdminView TestCase N/A N/A view_cls UnpublishView test_unpublish N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self page status CONTENT_STATUS_PUBLISHED N/A view N/A N/A self as_view model WidgyPage N/A resp N/A view N/A N/A N/A self factory get / N/A str N/A N/A self page pk N/A N/A N/A self assertEqual N/A resp status_code 200 N/A N/A N/A self assertIn N/A N/A self page title N/A resp rendered_content N/A N/A N/A mock patch django.contrib.messages.success success_mock N/A N/A req N/A N/A N/A self factory post / N/A resp N/A view req N/A str N/A N/A self page pk N/A N/A N/A self assertEqual N/A resp status_code 302 N/A N/A N/A success_mock assert_called_with req N/A mock ANY N/A N/A self page N/A N/A N/A WidgyPage objects get pk N/A N/A self page pk N/A N/A N/A self assertEqual N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A AdminButtonsTestBase N/A PageSetup UserSetup N/A N/A urls widgy.contrib.widgy_mezzanine.tests.test_core setUp N/A N/A self N/A N/A N/A N/A N/A N/A super AdminButtonsTestBase self setUp N/A N/A self model_admin N/A WidgyPageAdmin WidgyPage N/A admin site N/A test_save_and_commit_without_changes N/A N/A self N/A N/A N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self superuser N/A N/A N/A N/A self model_admin _save_and_commit req N/A self page N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 1 N/A N/A N/A N/A self model_admin _save_and_commit req N/A self page N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 1 N/A N/A TestAdminButtons N/A AdminButtonsTestBase TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestAdminButtons self setUp N/A N/A N/A N/A self client login username superuser password password N/A test_status_embryo N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_add N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Save N/A response rendered_content N/A test_status_embryo_save N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_add N/A response N/A N/A N/A self client get url N/A data N/A _continue title slug root_node Title test_status_embryo_save N/A N/A N/A N/A ContentType objects get_for_model DefaultLayout pk N/A response N/A N/A N/A self client post url data N/A N/A N/A self assertEqual N/A response status_code 302 N/A page N/A N/A N/A WidgyPage objects get slug test_status_embryo_save N/A N/A N/A self assertEqual N/A page status CONTENT_STATUS_DRAFT N/A test_save_and_commit N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self superuser N/A N/A N/A N/A self model_admin _save_and_commit req N/A self page N/A N/A N/A self assertEqual N/A N/A self page status CONTENT_STATUS_PUBLISHED N/A test_save_and_commit_without_permission N/A N/A self N/A N/A N/A N/A self model_admin N/A WidgyPageAdmin WidgyPage N/A admin site N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self staffuser N/A N/A N/A N/A N/A N/A N/A self staffuser user_permissions filter codename add_versioncommit delete N/A N/A N/A mock patch django.contrib.messages.error error_mock N/A N/A N/A N/A N/A self model_admin _save_and_commit req N/A self page N/A N/A N/A error_mock assert_called_with req N/A mock ANY N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 0 N/A test_status_draft N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Save as Draft N/A response rendered_content N/A N/A N/A self assertIn Publish N/A response rendered_content N/A test_status_published N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Publish Changes N/A response rendered_content N/A test_delete_button N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_add N/A response N/A N/A N/A self client get url N/A N/A N/A self assertNotIn Delete N/A response rendered_content N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Delete N/A response rendered_content N/A N/A N/A skipUnless PAGE_BUILDER_INSTALLED page_builder is not installed N/A override_settings WIDGY_MEZZANINE_SITE widgy_site TestAdminButtonsWhenReviewed N/A AdminButtonsTestBase TestCase N/A test_save_and_commit N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self staffuser N/A N/A N/A N/A self model_admin _save_and_commit req N/A self page N/A N/A N/A self assertEqual N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 1 N/A commit N/A N/A N/A N/A N/A self page root_node commits get N/A N/A N/A self assertFalse N/A N/A commit reviewedversioncommit is_approved N/A test_save_and_approve N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self superuser N/A N/A N/A N/A self model_admin _save_and_approve req N/A self page N/A N/A N/A self assertEqual N/A N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 1 N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A self page root_node head reviewedversioncommit is_approved N/A test_save_and_approve_without_permission N/A N/A self N/A N/A N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self staffuser N/A N/A N/A mock patch django.contrib.messages.error error_mock N/A N/A N/A N/A N/A self model_admin _save_and_approve req N/A self page N/A N/A N/A error_mock assert_called_with req N/A mock ANY N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 0 N/A test_save_and_approve_without_commit N/A N/A self N/A N/A N/A commit N/A N/A N/A N/A self page root_node commit N/A req N/A N/A N/A self factory post / N/A N/A req user N/A self superuser N/A N/A N/A N/A self model_admin _save_and_approve req N/A self page N/A N/A N/A self assertTrue N/A N/A N/A refetch commit reviewedversioncommit is_approved N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A self page root_node commits count 1 N/A test_save_and_commit_without_changes N/A N/A self N/A N/A N/A N/A N/A mock patch django.contrib.messages.warning warning_mock N/A N/A N/A N/A N/A super TestAdminButtonsWhenReviewed self test_save_and_commit_without_changes N/A N/A N/A warning_mock assert_called_with N/A mock ANY N/A mock ANY N/A test_status_embryo N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_add N/A N/A N/A self as_user staffuser N/A N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Save N/A response rendered_content N/A test_status_draft N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A N/A N/A self as_user staffuser N/A N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Save as Draft N/A response rendered_content N/A N/A N/A self assertIn Submit for Review N/A response rendered_content N/A N/A N/A self assertNotIn _save_and_approve N/A response rendered_content N/A N/A N/A self as_user superuser N/A N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn Save as Draft N/A response rendered_content N/A N/A N/A self assertIn Submit for Review N/A response rendered_content N/A N/A N/A self assertIn _save_and_approve N/A response rendered_content N/A test_status_published N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A N/A N/A self as_user staffuser N/A N/A response N/A N/A N/A self client get url N/A N/A N/A self assertNotIn Save as Draft N/A response rendered_content N/A N/A N/A self assertIn Submit for Review N/A response rendered_content N/A N/A N/A self assertNotIn _save_and_approve N/A response rendered_content N/A N/A N/A self as_user superuser N/A N/A response N/A N/A N/A self client get url N/A N/A N/A self assertNotIn Save as Draft N/A response rendered_content N/A N/A N/A self assertIn Submit for Review N/A response rendered_content N/A N/A make_reviewed TestAdminMessages N/A PageSetup TestCase N/A N/A urls widgy.contrib.widgy_mezzanine.tests.test_core setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestAdminMessages self setUp N/A N/A self user N/A N/A N/A User objects create_superuser test test@example.com password N/A N/A N/A N/A self client login username test password password N/A test_future_schedule_message N/A N/A self N/A N/A N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A N/A N/A N/A N/A self page root_node commit publish_at N/A N/A N/A timezone now N/A N/A datetime timedelta days 1 N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn one future-scheduled commit N/A response rendered_content N/A N/A N/A N/A N/A self page root_node commit N/A response N/A N/A N/A self client get url N/A N/A N/A self assertNotIn future-scheduled commit N/A response rendered_content N/A test_unapproved_commit_message N/A N/A self N/A N/A N/A N/A self page N/A refetch N/A self page N/A url N/A N/A urlresolvers reverse admin:widgy_mezzanine_widgypage_change args N/A N/A N/A self page pk N/A N/A N/A N/A N/A self page root_node commit N/A response N/A N/A N/A self client get url N/A N/A N/A self assertIn one unreviewed commit N/A response rendered_content N/A new_commit N/A N/A N/A N/A self page root_node commit N/A N/A N/A new_commit approve user N/A self user N/A response N/A N/A N/A self client get url N/A N/A N/A self assertNotIn unreviewed commit N/A response rendered_content N/A make_reviewed N/A refetch N/A N/A obj N/A N/A N/A N/A N/A N/A N/A obj __class__ objects get pk N/A obj pk N/A TestPublicationCommitHandling N/A PageSetup TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestPublicationCommitHandling self setUp N/A N/A self user N/A N/A N/A User objects create_superuser username asfd password asdfasdf email asdf@example.com N/A N/A self vt N/A N/A self page root_node N/A test_publish_on_commit N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A commit N/A N/A N/A self vt commit N/A N/A commit publish_at N/A N/A N/A timezone now N/A N/A datetime timedelta days 1 N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A commit approve N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A self assertEqual N/A N/A refetch N/A self page publish_date N/A N/A refetch commit publish_at N/A test_committing_again_does_nothing N/A N/A self N/A N/A N/A N/A N/A self page status CONTENT_STATUS_DRAFT N/A N/A N/A N/A self page save N/A commit N/A N/A N/A self vt commit N/A N/A N/A commit approve N/A self user N/A original_publish_date N/A N/A refetch N/A self page publish_date N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A N/A self vt commit publish_at N/A N/A N/A timezone now N/A N/A datetime timedelta days 1 N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A self assertEqual N/A N/A refetch N/A self page publish_date original_publish_date N/A test_publish_commit_moves_publish_date_up N/A N/A self N/A N/A N/A N/A N/A self page publish_date N/A N/A N/A timezone now N/A N/A datetime timedelta days 1 N/A N/A N/A N/A self page save N/A commit N/A N/A N/A self vt commit N/A N/A N/A commit approve N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page publish_date N/A N/A refetch commit publish_at N/A test_unapprove_commit_unpublishes_page_when_there_are_no_other_published_commits N/A N/A self N/A N/A N/A commit N/A N/A N/A self vt commit N/A N/A N/A commit approve N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A commit unapprove N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_DRAFT N/A test_unapprove_commit_corrects_publish_date_there_is_another_commit N/A N/A self N/A N/A N/A c1 N/A N/A N/A self vt commit N/A N/A N/A c1 approve N/A self user N/A c2 N/A N/A N/A self vt commit publish_at N/A N/A N/A timezone now N/A N/A datetime timedelta days 1 N/A N/A N/A c2 approve N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A c1 unapprove N/A self user N/A N/A N/A self assertEqual N/A N/A refetch N/A self page status CONTENT_STATUS_PUBLISHED N/A N/A N/A self assertEqual N/A N/A refetch N/A self page publish_date N/A N/A refetch c2 publish_at N/A N/A make_reviewed TestSelectRelated N/A PageSetup TestCase N/A test_default_manager_selects_related N/A N/A self N/A N/A N/A p N/A N/A N/A N/A Page objects get pk N/A N/A self page pk widgypage N/A N/A N/A self assertNumQueries 1 N/A N/A N/A N/A N/A p widgypage root_node head N/A N/A