Module ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword TupleLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Assign NameStore Call NameLoad keyword Str keyword BinOpMod Str NameLoad keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str BoolOpOr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore DictComp AttributeLoad NameLoad attr NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Dict body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list
N/A __future__ absolute_import unicode_literals django.core.urlresolvers reverse django.test TestCase wagtail.tests.testapp.models EventIndex EventPage SimplePage wagtail.tests.utils WagtailTestUtils wagtail.wagtailcore.models Page TestChooserBrowse N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A self root_page N/A N/A N/A Page objects get id 2 N/A N/A self child_page N/A SimplePage title foobarbaz content hello N/A N/A N/A N/A self root_page add_child instance N/A self child_page N/A N/A N/A self login N/A get N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page params N/A test_simple N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/browse.html N/A N/A TestCanChooseRootFlag N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A N/A self login N/A get N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page params N/A test_cannot_choose_root_by_default N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A N/A self assertNotContains response /admin/pages/1/edit/ N/A test_can_choose_root N/A N/A self N/A N/A N/A response N/A N/A self get N/A can_choose_root true N/A N/A N/A self assertContains response /admin/pages/1/edit/ N/A N/A TestChooserBrowseChild N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A self root_page N/A N/A N/A Page objects get id 2 N/A N/A self child_page N/A SimplePage title foobarbaz content hello N/A N/A N/A N/A self root_page add_child instance N/A self child_page N/A N/A N/A self login N/A get N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page_child args N/A N/A N/A self root_page id params N/A get_invalid N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page_child args N/A 9999999 params N/A test_simple N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/browse.html N/A test_get_invalid N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self get_invalid status_code 404 N/A test_with_page_type N/A N/A self N/A N/A N/A event_page N/A EventPage title event location the moon audience public cost free date_from 2001-01-01 N/A N/A N/A N/A self root_page add_child instance event_page N/A event_index_page N/A EventIndex title events N/A N/A N/A N/A self root_page add_child instance event_index_page N/A N/A N/A event_index_page add_child instance N/A EventPage title other event location the moon audience public cost free date_from 2001-01-01 N/A response N/A N/A self get N/A page_type tests.simplepage N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/browse.html N/A N/A N/A self assertEqual N/A N/A response context N/A page_type_string tests.simplepage N/A pages N/A N/A page id page N/A page N/A N/A N/A response context N/A pages object_list N/A N/A N/A self assertIn N/A N/A self child_page id pages N/A N/A N/A self assertTrue N/A N/A pages N/A N/A N/A self child_page id can_choose N/A N/A N/A self assertFalse N/A N/A pages N/A N/A N/A self child_page id can_descend N/A N/A N/A self assertNotIn N/A event_page id pages N/A N/A N/A self assertIn N/A event_index_page id pages N/A N/A N/A self assertFalse N/A N/A pages N/A N/A event_index_page id can_choose N/A N/A N/A self assertTrue N/A N/A pages N/A N/A event_index_page id can_descend N/A test_with_blank_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/browse.html N/A test_with_multiple_page_types N/A N/A self N/A N/A N/A event_page N/A EventPage title event location the moon audience public cost free date_from 2001-01-01 N/A N/A N/A N/A self root_page add_child instance event_page N/A response N/A N/A self get N/A page_type tests.simplepage,tests.eventpage N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/browse.html N/A N/A N/A self assertEqual N/A N/A response context N/A page_type_string tests.simplepage,tests.eventpage N/A pages N/A N/A page id page N/A page N/A N/A N/A response context N/A pages object_list N/A N/A N/A self assertIn N/A N/A self child_page id pages N/A N/A N/A self assertTrue N/A N/A pages N/A N/A N/A self child_page id can_choose N/A N/A N/A self assertIn N/A event_page id pages N/A N/A N/A self assertTrue N/A N/A pages N/A N/A N/A self child_page id can_choose N/A test_with_unknown_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type foo.bar N/A N/A N/A self assertEqual N/A response status_code 404 N/A test_with_bad_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type wagtailcore.site N/A N/A N/A self assertEqual N/A response status_code 404 N/A test_with_invalid_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type foo N/A N/A N/A self assertEqual N/A response status_code 404 N/A setup_pagination_test_data N/A N/A self N/A N/A N/A i N/A range 100 N/A N/A new_page N/A SimplePage title foobarbaz slug N/A foobarbaz-%d i content hello N/A N/A N/A N/A self root_page add_child instance new_page N/A test_pagination_basic N/A N/A self N/A N/A N/A N/A N/A self setup_pagination_test_data N/A response N/A N/A self get N/A N/A N/A self assertEqual N/A N/A N/A N/A response context N/A pages paginator num_pages 5 N/A N/A N/A self assertEqual N/A N/A N/A response context N/A pages number 1 N/A test_pagination_another_page N/A N/A self N/A N/A N/A N/A N/A self setup_pagination_test_data N/A response N/A N/A self get N/A p 2 N/A N/A N/A self assertEqual N/A N/A N/A response context N/A pages number 2 N/A test_pagination_invalid_page N/A N/A self N/A N/A N/A N/A N/A self setup_pagination_test_data N/A response N/A N/A self get N/A p foo N/A N/A N/A self assertEqual N/A N/A N/A response context N/A pages number 1 N/A test_pagination_out_of_range_page N/A N/A self N/A N/A N/A N/A N/A self setup_pagination_test_data N/A response N/A N/A self get N/A p 100 N/A N/A N/A self assertEqual N/A N/A N/A response context N/A pages number 5 N/A N/A TestChooserSearch N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A self root_page N/A N/A N/A Page objects get id 2 N/A N/A self child_page N/A SimplePage title foobarbaz content hello N/A N/A N/A N/A self root_page add_child instance N/A self child_page N/A N/A N/A self login N/A get N/A N/A self params N/A None N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page_search N/A params N/A N/A test_simple N/A N/A self N/A N/A N/A response N/A N/A self get N/A q foobarbaz N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/_search_results.html N/A N/A N/A self assertContains response There is one match N/A N/A N/A self assertContains response foobarbaz N/A test_search_no_results N/A N/A self N/A N/A N/A response N/A N/A self get N/A q quux N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response There are 0 matches N/A test_with_page_type N/A N/A self N/A N/A N/A event_page N/A EventPage title foo location the moon audience public cost free date_from 2001-01-01 N/A N/A N/A N/A self root_page add_child instance event_page N/A response N/A N/A self get N/A q page_type foo tests.simplepage N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/_search_results.html N/A N/A N/A self assertEqual N/A N/A response context N/A page_type_string tests.simplepage N/A pages N/A N/A page id page N/A page N/A N/A response context N/A pages N/A N/A N/A self assertIn N/A N/A self child_page id pages N/A N/A N/A self assertNotIn N/A event_page id pages N/A test_with_blank_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A q page_type foobarbaz N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/_search_results.html N/A N/A N/A self assertContains response There is one match N/A N/A N/A self assertContains response foobarbaz N/A test_with_multiple_page_types N/A N/A self N/A N/A N/A event_page N/A EventPage title foo location the moon audience public cost free date_from 2001-01-01 N/A N/A N/A N/A self root_page add_child instance event_page N/A response N/A N/A self get N/A q page_type foo tests.simplepage,tests.eventpage N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/_search_results.html N/A N/A N/A self assertEqual N/A N/A response context N/A page_type_string tests.simplepage,tests.eventpage N/A pages N/A N/A page id page N/A page N/A N/A response context N/A pages N/A N/A N/A self assertIn N/A N/A self child_page id pages N/A N/A N/A self assertIn N/A event_page id pages N/A test_with_unknown_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type foo.bar N/A N/A N/A self assertEqual N/A response status_code 404 N/A test_with_bad_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type wagtailcore.site N/A N/A N/A self assertEqual N/A response status_code 404 N/A test_with_invalid_page_type N/A N/A self N/A N/A N/A response N/A N/A self get N/A page_type foo N/A N/A N/A self assertEqual N/A response status_code 404 N/A N/A TestChooserExternalLink N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A N/A self login N/A get N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page_external_link params N/A post N/A N/A self post_data N/A N/A N/A N/A N/A N/A N/A self client post N/A reverse wagtailadmin_choose_page_external_link post_data N/A test_simple N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/external_link.html N/A test_get_with_param N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self get N/A prompt_for_link_text foo status_code 200 N/A test_create_link N/A N/A self N/A N/A N/A response N/A N/A self post N/A url http://www.example.com/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response 'onload' N/A N/A N/A self assertContains response 'url': 'http://www.example.com/', N/A N/A N/A self assertContains response 'title': 'http://www.example.com/' N/A test_invalid_url N/A N/A self N/A N/A N/A response N/A N/A self post N/A url ntp://www.example.com N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response 'html' N/A N/A N/A self assertContains response Enter a valid URL. N/A test_allow_local_url N/A N/A self N/A N/A N/A response N/A N/A self post N/A url /admin/ N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertContains response 'onload' N/A N/A N/A self assertContains response 'url': '/admin/', N/A N/A N/A self assertContains response 'title': '/admin/' N/A N/A TestChooserEmailLink N/A TestCase WagtailTestUtils N/A setUp N/A N/A self N/A N/A N/A N/A N/A self login N/A get N/A N/A self params N/A N/A N/A N/A N/A N/A N/A self client get N/A reverse wagtailadmin_choose_page_email_link params N/A post N/A N/A self post_data N/A N/A N/A N/A N/A N/A N/A self client post N/A reverse wagtailadmin_choose_page_email_link post_data N/A test_simple N/A N/A self N/A N/A N/A response N/A N/A self get N/A N/A N/A self assertEqual N/A response status_code 200 N/A N/A N/A self assertTemplateUsed response wagtailadmin/chooser/email_link.html N/A test_get_with_param N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A self get N/A prompt_for_link_text foo status_code 200 N/A test_create_link N/A N/A self N/A N/A N/A request N/A N/A self post N/A email_address example@example.com N/A N/A N/A self assertContains request 'url': 'mailto:example@example.com', N/A N/A N/A self assertContains request 'title': 'example@example.com' N/A N/A