This tests the integration of Plone's separate "delete confirmation" page with the link integrity support, that is, the skipping of this extra page in case a link integrity breach exists and would present the user with a removal confirmation anyway. First we use a browser to try to directly delete the image via the "delete action". The regular confirmation page mentioned above should appear in this case: >>> self.setRoles(('Manager',)) >>> browser = self.getBrowser(loggedIn=True) >>> browser.open('http://nohost/plone/image1/view') >>> browser.getLink('Delete').click() >>> browser.url 'http://nohost/plone/image1/delete_confirmation' >>> browser.contents '...Do you really want to delete this item?... ...Test Image 1... ...