'The default delete action doesn\'t break if a ModelAdmin removes the
change_view URL (#20640).'

def test_model_admin_default_delete_action_no_change_url(self):

    obj = UnchangeableObject.objects.create()
    action_data = {ACTION_CHECKBOX_NAME: obj.pk, 'action': 'delete_selected', 'index': '0'}
    response = self.client.post(reverse('admin:admin_views_unchangeableobject_changelist'), action_data)
    self.assertEqual(response.status_code, 200)
    self.assertContains(response, ('<li>Unchangeable    object:    %s</li>' % obj), 1, html=True)
