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

def test_custom_changelist(self):

    post_data = {u'name': u'First    Gadget'}
    response = self.client.post((u'/test_admin/%s/admin_views/gadget/add/' % self.urlbit), post_data)
    self.assertEqual(response.status_code, 302)
    response = self.client.get((u'/test_admin/%s/admin_views/gadget/' % self.urlbit))
    response = self.client.get((u'/test_admin/%s/admin_views/gadget/' % self.urlbit))
    self.assertEqual(response.status_code, 200)
    self.assertNotContains(response, u'First    Gadget')
