'Validate that a custom ChangeList class can be used (#9749)'

def test_custom_changelist(self):

    post_data = {'name': 'First    Gadget'}
    response = self.client.post(reverse('admin:admin_views_gadget_add'), post_data)
    self.assertEqual(response.status_code, 302)
    response = self.client.get(reverse('admin:admin_views_gadget_changelist'))
    response = self.client.get(reverse('admin:admin_views_gadget_changelist'))
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, 'First    Gadget')
