Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call NameLoad Str AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str keyword Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad attr Call NameLoad Str keyword Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Index Str Str Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list Call NameLoad keyword Str
N/A __future__ unicode_literals django.conf.urls url django.contrib admin django.contrib.auth.models User django.test TestCase override_settings django.test.client RequestFactory django.urls reverse models Article N/A site N/A N/A admin AdminSite name test_adminsite N/A N/A N/A site register User N/A N/A N/A site register Article N/A urlpatterns N/A N/A url ^test_admin/admin/ N/A site urls SiteEachContextTest N/A TestCase N/A N/A 
    Check each_context contains the documented variables and that available_apps context
    variable structure is the expected one.
     setUpTestData N/A N/A cls N/A N/A N/A N/A cls u1 N/A N/A N/A User objects create_superuser username super password secret email super@example.com N/A classmethod setUp N/A N/A self N/A N/A N/A factory N/A RequestFactory N/A request N/A N/A factory get N/A reverse test_adminsite:index N/A N/A request user N/A self u1 N/A N/A self ctx N/A N/A site each_context request N/A test_each_context N/A N/A self N/A N/A N/A ctx N/A self ctx N/A N/A N/A self assertEqual N/A ctx N/A site_header Django administration N/A N/A N/A self assertEqual N/A ctx N/A site_title Django site admin N/A N/A N/A self assertEqual N/A ctx N/A site_url / N/A N/A N/A self assertEqual N/A ctx N/A has_permission True N/A test_each_context_site_url_with_script_name N/A N/A self N/A N/A N/A request N/A N/A N/A RequestFactory get N/A reverse test_adminsite:index SCRIPT_NAME /my-script-name/ N/A N/A request user N/A self u1 N/A N/A N/A self assertEqual N/A N/A N/A site each_context request N/A site_url /my-script-name/ N/A test_available_apps N/A N/A self N/A N/A N/A ctx N/A self ctx N/A apps N/A ctx N/A available_apps N/A N/A N/A self assertEqual N/A len apps 2 N/A admin_views N/A apps N/A 0 N/A N/A N/A self assertEqual N/A admin_views N/A app_label admin_views N/A N/A N/A self assertEqual N/A len N/A admin_views N/A models 1 N/A N/A N/A self assertEqual N/A N/A N/A admin_views N/A models N/A 0 N/A object_name Article N/A auth N/A apps N/A 1 N/A N/A N/A self assertEqual N/A auth N/A app_label auth N/A N/A N/A self assertEqual N/A len N/A auth N/A models 1 N/A user N/A N/A auth N/A models N/A 0 N/A N/A N/A self assertEqual N/A user N/A object_name User N/A N/A N/A self assertEqual N/A auth N/A app_url /test_admin/admin/auth/ N/A N/A N/A self assertEqual N/A auth N/A has_module_perms True N/A N/A N/A self assertIn perms user N/A N/A N/A self assertEqual N/A N/A user N/A perms N/A add True N/A N/A N/A self assertEqual N/A N/A user N/A perms N/A change True N/A N/A N/A self assertEqual N/A N/A user N/A perms N/A delete True N/A N/A N/A self assertEqual N/A user N/A admin_url /test_admin/admin/auth/user/ N/A N/A N/A self assertEqual N/A user N/A add_url /test_admin/admin/auth/user/add/ N/A N/A N/A self assertEqual N/A user N/A name Users N/A N/A N/A override_settings ROOT_URLCONF admin_views.test_adminsite