'Regression test for #14312: list_editable with pagination'

def test_result_list_editable(self):

    new_parent = Parent.objects.create(name='parent')
    for i in range(200):
        new_child = Child.objects.create(name=('name    %s' % i), parent=new_parent)
    request = MockRequest()
    request.GET['p'] = (-1)
    m = ChildAdmin(Child, admin.site)
    m.list_display = ['id', 'name', 'parent']
    m.list_display_links = ['id']
    m.list_editable = ['name']
    self.assertRaises(IncorrectLookupParameters, (lambda : ChangeList(request, Child, m.list_display, m.list_display_links, m.list_filter, m.date_hierarchy, m.search_fields, m.list_select_related, m.list_per_page, m.list_editable, m)))
