Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad decorator_list decorator_list Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args defaults NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Lambda arguments args defaults NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list
N/A base BaseTestCase django.http HttpResponse django.views generic sudo.mixins SudoMixin FooView N/A SudoMixin N/A generic View N/A get N/A N/A self request N/A N/A N/A N/A HttpResponse N/A N/A N/A foo N/A N/A FooView as_view SudoMixinTestCase N/A BaseTestCase N/A test_is_sudo N/A N/A self N/A N/A N/A N/A N/A self request is_sudo N/A N/A N/A N/A True N/A response N/A foo N/A self request N/A N/A N/A self assertEqual N/A response status_code 200 N/A test_is_not_sudo N/A N/A self N/A N/A N/A N/A N/A self request is_sudo N/A N/A N/A N/A False N/A response N/A foo N/A self request N/A N/A N/A self assertEqual N/A response status_code 302 N/A N/A N/A self assertEqual N/A response N/A Location /sudo/?next=/foo N/A N/A